3 ms·
Does your UUID library use a cryptographic safe RNG?
by monocasa 4y ago
Does your UUID library use a cryptographic safe RNG?
- lolinder 4y agoJava's does, and that's the implementation the article discusses.
- lll-o-lll 4y agoBut this is the point though, UUID is the wrong tool for the job. You want a cryptographically random blob of entropy and you reach for a UUID because it happens to contain some of that in a specific implementation. UUIDs are for uniqueness and involve implicit trust. Cryptographic libraries are what you need to generate entropy blobs without weakening security/confusing the next developer etc.