4 ms·
> but if anything happens to your PRNGs, you risk countless collisions to slip up by you in production before you realize what happened. UUID generation basica
by tatersolid 5y ago
> but if anything happens to your PRNGs, you risk countless collisions to slip up by you in production before you realize what happened.
UUID generation basically has to use a CSPRNG to avoid collisions (or at least a very large-state insecure PRNG).
Because of the low volume simply using /dev/urandom on each node makes the most sense. If /dev/urandom is broken so is your TLS stack and a host of other security-critical things; at that point worrying about video ID collisions seems silly.
- slver 5y agoI worry about state corrupting problems, because they tend to linger long after you have a fix.