Re:Sqids – Generate Short Unique IDs from Numbers
by richbell on Saturday November 25, 2023 @10:21PM
(#38418885)
I haven't looked at the implementation yet but HashIds (the former project name) required a salt. It would be weird if they changed that.
[ Parent
| on HN ]
Re:Sqids – Generate Short Unique IDs from Numbers
by slig on Sunday November 26, 2023 @07:30AM
(#38421123)
The `salt` in hashids just shuffled the alphabet. Now they removed the `salt`, but you can have the same level of "obfuscation" as before if you shuffle the alphabet yourself before calling the library.
Re:Sqids – Generate Short Unique IDs from Numbers
by paulddraper on Sunday November 26, 2023 @02:45PM
(#38424342)
They're weakly unpredictable.
Obfuscated