Skip to content

Instantly share code, notes, and snippets.

@lefred
Last active November 17, 2015 07:23
Show Gist options
  • Save lefred/88a2cec88d03854d9934 to your computer and use it in GitHub Desktop.
Save lefred/88a2cec88d03854d9934 to your computer and use it in GitHub Desktop.
From To Length Content
----- ---- ------- ---------------------------
0 31 32 Bits 0-31 of Coordinated Universal Time (UTC) as a count of 100-nanosecond
intervals since 00:00:00.00, 15 October 1582, encoded as big-endian 32-bit
number.
32 47 16 Bits 32-47 of UTC as a count of 100-nanosecond intervals since 00:00:00.00,
15 October 1582, encoded as big-endian 16-bit number.
48 59 12 Bits 48-59 of UTC as a count of 100-nanosecond intervals since 00:00:00.00,
15 October 1582, encoded as big-endian 16-bit number.
60 63 4 UUID version number: always equal to 1 (DCE UUID).
64 69 6 most-significants bits of random number, which generated from the server
process PID and Coordinated Universal Time (UTC) as a count of 100-nanosecond
intervals since 00:00:00.00, 15 October 1582.
70 71 2 UID variant: always equal to binary 10 (DCE variant).
72 79 8 8 least-significant bits of random number, which generated from the server
process PID and Coordinated Universal Time (UTC) as a count of 100-nanosecond
intervals since 00:00:00.00, 15 October 1582.
80 80 1 Random bit ("unique node identifier").
81 81 1 Always equal to the one ("locally administered MAC address").
82 127 46 Random bits ("unique node identifier"): readed from the /dev/urandom
or (if /dev/urandom is unavailable) generated based on the server process PID,
current time and bits of the default "zero node identifier" (entropy data).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment