Settings

Theme

Show HN: Sqids (formerly Hashids) – Generate short unique IDs from numbers

sqids.org

4 points by 4kimov 2 years ago · 0 comments · 1 min read

Reader

More than 10 years ago, I released the first version of Hashids in PHP, an encoding library to generate unique IDs from numbers [0]. Over the years, many developers have converted the library to plenty of other programming languages. It was nice to see it grow, but there were always a few things that bothered me about the original algorithm, so a few months ago I've decided to try and address those issues.

With lots of help from the community, we've rebranded the library to Sqids (you can see the proposed changes here [1]).

The new library generates unique IDs faster and with a simpler algorithm. You can read all about it on the FAQ page [2] and try it out via the playground [3]. As always, feedback is welcome via HN or Github.

[0] https://github.com/vinkla/hashids/commit/98d72eac456aabbf2da...

[1] https://github.com/hashids/#what-is-changing

[2] https://sqids.org/faq

[3] https://sqids.org/playground

No comments yet.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection