| ▲ | computomatic 2 hours ago | |||||||
16 random bytes is not a valid UUIDv4. I don’t think it needs to be in the standard library, but implementing the spec yourself is also not the right choice for 99% of cases. | ||||||||
| ▲ | groestl 42 minutes ago | parent | next [-] | |||||||
Let's call it a valid UUIDv0 - all bits randomized including the version bits :) | ||||||||
| ▲ | rollulus 2 hours ago | parent | prev | next [-] | |||||||
Well that depends on your luck, it could be a valid one about 1/16th of the time. | ||||||||
| ▲ | koakuma-chan 2 hours ago | parent | prev [-] | |||||||
What if I generate 16 random bytes and use that as id? | ||||||||
| ||||||||