Open stjava opened 3 years ago
Hi @stjava :wave:, thanks for your contribution :+1:
Have you made sure to enable the additional feature that disable the maximum number size limit? Otherwise this library ensures the interoperability with the algorithm reference implementation which won't allow the usage of Java's Long.MAX_VALUE
because of the way JavaScript handles number values.
can not use Long.MAX_VALUE
Hashids hashids = new Hashids(); String encode = hashids.encode(Long.MAX_VALUE); System.out.println(encode);