Re:Hashids – Generate short hashes from numbers
by bazzargh on Monday August 11, 2014 @01:35PM
(#8164242)
You're storing 6-char base-32 values, so 1073741824 possibilities, but you've got 50-50 chance of collision after 38582 values - that's not a lot, the birthday paradox bites again! Using much larger random values or hashes gives you a better safety margin.
[ Parent
| on HN ]