Generate UUIDs
Version 4 UUIDs, one or five hundred, generated by your browser.
0 UUIDs
Version 4, generated by your browser with crypto.randomUUID. 122 of the 128 bits are random, which is enough that you will not see a collision.
Questions
- Are these safe to use as database keys?
- Yes.
- Are they generated on a server?
- No.
- Why no version 1?
- Version 1 embeds a timestamp and the machine MAC address, which leaks information and is rarely what people actually want.