-
Notifications
You must be signed in to change notification settings - Fork 174
Closed
Description
below code throw System.IndexOutOfRangeException
var hashids = new Hashids("salt", alphabet:"0123456789ABCDEF");
var hash = hashids.EncodeLong(long.MaxValue);
full exception text:
System.IndexOutOfRangeException: Index was outside the bounds of the array.
at HashidsNet.Hashids.BuildReversedHash(Int64 input, Char[] alphabet, Char[] hashBuffer)
at HashidsNet.Hashids.GenerateHashFrom(Int64[] numbers)
at HashidsNet.Hashids.EncodeLong(Int64[] numbers)
at Program.<<Initialize>>d__0.MoveNext() in :line 7
Metadata
Metadata
Assignees
Labels
No labels