3 ms·
Actually, i started to value UUID 5. Really neat properties, to generate from a name and a UUID a new one.
by je42 11y ago
Actually, i started to value UUID 5. Really neat properties, to generate from a name and a UUID a new one.
- colanderman 11y agoYes, the UUID 5 (SHA1 + namespace) is fantastically useful because it is deterministic. They can be a function of your own internal IDs, rather than trying to synchronize clocks or random seeds across systems, and still won't conflict with UUIDs from other vendors using a similar system. MD5 and SHA-1 being broken only matter if you let users choose your keys, to which the answer is don't do that.
- TazeTSchnitzel 11y agoDeterminism is a good point, that would be useful in some applications.