gwp
gwp copied to clipboard
Fixes incorrect bits 7 and 6 should be set to 1 and 0 respectively.
Bit pattern for the 9th byte should be:
7 6 5 4 3 2 1 0
+-+-+-+-+-+-+-+-+
|1|0| | | | | | |
+-+-+-+-+-+-+-+-+
And not the following:
7 6 5 4 3 2 1 0
+-+-+-+-+-+-+-+-+
|0|1| | | | | | |
+-+-+-+-+-+-+-+-+
https://www.cryptosys.net/pki/uuid-rfc4122.html#note1