Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Two unique IDs convert back to the same integer #44

Open
timworx opened this issue Apr 27, 2021 · 1 comment
Open

Two unique IDs convert back to the same integer #44

timworx opened this issue Apr 27, 2021 · 1 comment

Comments

@timworx
Copy link

timworx commented Apr 27, 2021

Hi there -- I've found a case were two unique ids decode to the same integer.

As far as I can tell this won't cause any problems for me, I'd just like to understand why this is possible and if it's expected. I've tested the opposite direction (running through a integers to a very high value to ensure there are no conflicts when encoding)

Unfortunately, not sure how to reproduce it here without posting what the integers convert to on my side and the salt I use.

@davidaurelio
Copy link
Owner

Can you please check whether this also happens with the JS implementation.

To be completely honest, I haven’t looked at the code in quite some time, and don’t have any idea what could be wrong from the top of my head.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants