|
|
|
|
|
by KMag
1841 days ago
|
|
If you want privacy and anonymity, be careful about how you're generating your UUID. Some flavors of UUID are just the MAC address, process ID, and timestamp, which makes them trivially guessable (and poorly scalable). Instead of a UUID, just read 16 bytes from /dev/urandom (getentropy() if you've got it). Base85 or Base64 encode the bytes if you need a string. |
|
Someone mentioned it before and it seems false. UUIDS are made to scale and i think it's mostly about a lack of understanding of UUIDS.
Eg. some versions of UUIDS are meant to be deterministic, some for sortability, ...
https://en.m.wikipedia.org/wiki/Universally_unique_identifie...