TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

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

4 点作者 4kimov超过 1 年前
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>

暂无评论

暂无评论