Hacker GitHub

← All repos

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

Mentions per year 4 mentions · busiest year 2017 (2)
20082026
  1. …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…
  2. You can also check https://github.com/dylang/shortid
  3. How about this https://github.com/dylang/shortid/
  4. …other issues and in the end I found ShortId [1] which made the whole process much simpler. - [1] https://github.com/dylang/shortid