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

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

4 points 4kimov 3 years ago 0 comments

No comments yet

Be the first to share your thoughts.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton