dylang/shortid
View on GitHub ↗ ★ 5,708 JavaScript
Short id generator. Url-friendly. Non-predictable. Cluster-compatible.
4 mentions on Hacker News by 4 people: 0 stories, 4 comments · first 2014-08-11 · latest 2017-09-12
20082026
-
…to do. They reimplemented a seeded linear congruential generator for their random number generator: https://github.com/dylang/shortid/blob/master/lib/random/ran... But since LCGs are easy to solve, after seeing a few values you can solve…
comment by arnioxux · 2017-09-12 · in Nano ID: A tiny, secure URL-friendly unique string ID generator for JavaScript -
You can also check https://github.com/dylang/shortid
comment by dfreire · 2017-09-12 · in Nano ID: A tiny, secure URL-friendly unique string ID generator for JavaScript -
How about this https://github.com/dylang/shortid/
comment by jiyinyiyong · 2016-06-03 · in Show HN: Js-shortid – Generate short id clearly the simplest -
…other issues and in the end I found ShortId [1] which made the whole process much simpler. - [1] https://github.com/dylang/shortid
comment by xhrpost · 2014-08-11 · in Hashids – Generate short hashes from numbers