hashids-java
hashids-java copied to clipboard
Hashids algorithm v1.0.0 implementation in Java
V2 Proposal
# Version 2.0 Proposal This issue will be a discussion point to exchange ideas about version 2.0. ## Big picture The community is urging for a more java idiom version,...
When generating hashes that are separated by 100 the hash strings are very similar. This is unavoidable with this implementation and perhaps not a huge deal, but maybe it would...
In encode, we passed a greater number(like 44913000000003047) than fixed MAX_LIMIT(9007199254740992L). How to solve this case and handle any number to encode.
Added a new Hashids constructor to support customized "separators" plus a pre-check for NULL that prevents a NullException by defaulting to DEFAULT_SEPS (this behaviour is modeled after the "salt" pre-check...
Does the follow-up plan support BigInteger? The JS version seems to have been supported.
This change is [](https://reviewable.io/reviews/jiecao-fm/hashids-java/53)
In loops and recursion, using StringBuilder instead of String to reduce the creation and destruction of String objects can improve performance. And I followed the source file format.