Re:Moving Away from UUIDs
by monocasa on Monday November 21, 2022 @09:49PM
(#33701143)
Does your UUID library use a cryptographic safe RNG?
[ Parent
| on HN ]
Java's does, and that's the implementation the article discusses.
But 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.