News for hackers. Stuff that matters.
Re:Nano ID: A tiny, secure URL-friendly unique string ID ge... by ijustdontcare on Tuesday September 12, 2017 @05:59AM (#15226027)
what about uuid, a well researched and established standard?
Re:Nano ID: A tiny, secure URL-friendly unique string ID ge... by veeti on Tuesday September 12, 2017 @06:17AM (#15226112)
> Compact. It uses more symbols than UUID (A-Za-z0-9_~) and has the same number of unique options in just 22 symbols instead of 36.
Re:Nano ID: A tiny, secure URL-friendly unique string ID ge... by gvx on Tuesday September 12, 2017 @01:46PM (#15229466)
This is basically UUIDv4, encoded with a url-safe variant of base64 (except UUIDv4 reserves a few bits for saying "this is a UUID, specifically version 4").
Re:Nano ID: A tiny, secure URL-friendly unique string ID ge... by namelost on Tuesday September 12, 2017 @06:04AM (#15226049)
UUIDs are not secure unless they are version 4 (random) and generated from a secure randomness source.
Re:Nano ID: A tiny, secure URL-friendly unique string ID ge... by jimktrains2 on Tuesday September 12, 2017 @08:43AM (#15226787)
What do you mean by secure? Unpredictable?
Re:Nano ID: A tiny, secure URL-friendly unique string ID ge... by wruza on Tuesday September 12, 2017 @08:33AM (#15226718)
The same applies for any unique ids in general.
Re:Nano ID: A tiny, secure URL-friendly unique string ID ge... by dchest on Tuesday September 12, 2017 @09:15AM (#15226984)
Yes, but the holy UUID standard specifies multiple ways of generating them from sticks and stones, invented before people knew how to properly generate random bytes.