Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
8organicbits
on Nov 26, 2023
|
parent
|
context
|
favorite
| on:
Sqids – Generate short unique IDs from numbers
I think your right, but that violates the uniqueness guarantee. It doesnt seem like something that should change over time by default.
dumbo-octopus
on Nov 26, 2023
[–]
There explicitly is no uniqueness guarantee. It is known that the same values can encode into many different strings, and they recommend always decoding then reencoding with a stable algorithm to achieve a "canonical" id if one is needed.
https://sqids.org/faq#valid-ids
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: