3 ms·
It reminds me a bit of when people worry about collisions in random uuids
by lyu07282 3y ago
It reminds me a bit of when people worry about collisions in random uuids
- Retr0id 3y agoThose are more subtle, and often well-founded, due to the birthday paradox.
- Retr0id 3y ago(and sometimes weak entropy sources)
- Zigurd 3y agoI once had to convince someone much smarter than me that UUID collisions (for a messaging system we were developing) would not happen. It was a surreal experience.
- a1369209993 3y agoAre you sure they were talking about UUID collisions in a idealized/theoretical system? If you generate UUIDs using, for example, a random number generator with only a 16-bit seed, you absolutely will see collisions, for much the same reasons as in TFA.
- extraduder_ire 3y agoI am regularly concerned about using UUIDs in a public-facing way, since that would encourage people to make "vanity" UUIDs somehow. Requiring some kind of value to be hashed to create the UUID would sidestep this a little.