TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

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

4 pointsby 4kimovover 1 year ago
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&#x27;ve decided to try and address those issues.<p>With lots of help from the community, we&#x27;ve rebranded the library to Sqids (you can see the proposed changes here [1]).<p>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.<p>[0] <a href="https:&#x2F;&#x2F;github.com&#x2F;vinkla&#x2F;hashids&#x2F;commit&#x2F;98d72eac456aabbf2da5e384a93c1b2acb2fd207">https:&#x2F;&#x2F;github.com&#x2F;vinkla&#x2F;hashids&#x2F;commit&#x2F;98d72eac456aabbf2da...</a><p>[1] <a href="https:&#x2F;&#x2F;github.com&#x2F;hashids&#x2F;#what-is-changing">https:&#x2F;&#x2F;github.com&#x2F;hashids&#x2F;#what-is-changing</a><p>[2] <a href="https:&#x2F;&#x2F;sqids.org&#x2F;faq" rel="nofollow noreferrer">https:&#x2F;&#x2F;sqids.org&#x2F;faq</a><p>[3] <a href="https:&#x2F;&#x2F;sqids.org&#x2F;playground" rel="nofollow noreferrer">https:&#x2F;&#x2F;sqids.org&#x2F;playground</a>

no comments

no comments