ai / nanoid

A tiny (124 bytes), secure, URL-friendly, unique string ID generator for JavaScript

Home Page:https://zelark.github.io/nano-id-cc/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

All monotonically increasing (auto-increment, k-sortable), and timestamp-based ids share the security issues

DaRabus opened this issue · comments

This is why Nano ID is using hardware random generator to have unguessable IDs. Just don't reduce ID length and keep some timeout between tries.