3 ms·
> and purely random (version 3) This is a typo, v3 isn't random. It is generated deterministically from inputs. > The only “repeated” value is the version, “4
by roenxi 5y ago
> and purely random (version 3)
This is a typo, v3 isn't random. It is generated deterministically from inputs.
> The only “repeated” value is the version, “4”, at the beginning of the 3rd field. All the other 124 bits are random.
And this is close but not quite correct. UUID v4 has a couple of other fixed bits, there are only 121-122 random ones. There are patterns in the text representation other than constant numbers. :)
- gkop 5y agoThis blog post is over two years old, that 3 vs 4 error is inexcusable.