Skip to content

Decode throws IndexOutOfRangeException with certain incorrect input #8

@hagis

Description

@hagis

A very useful library thanks! I stumbled upon a bug, which I thought I'd share:

[TestMethod]
public void TestHashIdsThrowsIndexOutOfRange()
{
var hashids = new Hashids("janottaa", 6);
var numbers = hashids.Decode("NgAzADEANAA=");
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions