4. RFC4122
• RFC4122では、 5 種類のタイプを定めている
– 1 The time-based version specified in this document.
– 2 DCE Security version, with embedded POSIX UIDs
– 3 The name-based version specified in this document that uses MD5
hashing.
– 4 The randomly or pseudo-randomly generated version specified in
this document.
– 5 The name-based version specified in this document that uses SHA-
1 hashing.
– A Universally Unique IDentifier (UUID) URN Namespace(RFC4122)
• 主に、乱数をベースとしたバージョン4が使われ
る
5. Algorithms for Creating a Time-Based UUID
• UUID の作成に使用されるアルゴリズムなどの詳
細については、「RFC 4122: A Universally Unique
IDentifier (UUID) URN Namespace」 のセクション
4.2「Algorithms for Creating a Time-Based UUID」
を参照
• https://tools.ietf.org/html/rfc4122#section-4.2
• 時間ベース UUID
• DCE セキュリティー UUID
• 名前ベース UUID
• ランダム生成 UUID
9. Apache CassandraのUUID
• LexicalUUIDType
– The LexicalUUIDType is used for a non-time based
comparison. It is compared lexically, by byte value.
• TimeUUIDType
– The TimeUUIDType is used for a time based
comparison. It uses a version 1 UUID.