Nguyễn Đôn Hào
New member
How do I get a UUID?
Answer
The procedure to generate a version 4 UUID is as follows:
Answer
The procedure to generate a version 4 UUID is as follows:
- Generate 16 random bytes (=128 bits)
- Adjust certain bits according to RFC 4122 section 4.4 as follows: …
- Encode the adjusted bytes as 32 hexadecimal digits.
- Add four hyphen “-” characters to obtain blocks of 8, 4, 4, 4 and 12 hex digits.