3 ms·
what about uuid, a well researched and established standard?
by ijustdontcare 9y ago
what about uuid, a well researched and established standard?
- namelost 9y agoUUIDs are not secure unless they are version 4 (random) and generated from a secure randomness source.
- wruza 9y agoThe same applies for any unique ids in general.
- dchest 9y agoYes, 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.
- jimktrains2 9y agoWhat do you mean by secure? Unpredictable?
- veeti 9y ago> 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.
- gvx 9y agoThis 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").