XML

UUID/GUID (汎用一意識別子) - XML

UUID (Universally Unique Identifier) および GUID (Globally Unique Identifier) は、ソフトウェアシステムで使用される128ビットの一意な識別子です。RFC 4122およびRFC 9562で標準化されており、中央の調整機関なしに独立して生成でき、重複の確率が極めて低い特性を持ちます。データベースの主キー、分散システムの識別子、APIキーなどに広く利用されています。

UUID GUID 識別子 RFC 4122 RFC 9562 データベース 分散システム
<?xml version="1.0" encoding="UTF-8"?>
<items>
  <item>
    <code>v1</code>
    <slug>uuid-v1</slug>
    <name>UUIDv1 (時間ベース)</name>
    <description>タイムスタンプとMACアドレスに基づくUUIDです。</description>
    <algorithm>Time-based + MAC address</algorithm>
    <recommended>false</recommended>
    <sortable>true</sortable>
  </item>
  <item>
    <code>v2</code>
    <slug>uuid-v2</slug>
    <name>UUIDv2 (DCEセキュリティ)</name>
    <description>DCEセキュリティ仕様のUUIDです。</description>
    <algorithm>DCE Security with POSIX ID</algorithm>
    <recommended>false</recommended>
    <sortable>true</sortable>
  </item>
  <item>
    <code>v3</code>
    <slug>uuid-v3</slug>
    <name>UUIDv3 (名前ベース/MD5)</name>
    <description>名前空間と名前からMD5ハッシュで生成されるUUIDです。</description>
    <algorithm>MD5 hash of namespace + name</algorithm>
    <recommended>false</recommended>
    <sortable>false</sortable>
  </item>
  <item>
    <code>v4</code>
    <slug>uuid-v4</slug>
    <name>UUIDv4 (ランダム)</name>
    <description>ランダムに生成される最も一般的なUUIDです。</description>
    <algorithm>Random 122 bits</algorithm>
    <recommended>true</recommended>
    <sortable>false</sortable>
  </item>
  <item>
    <code>v5</code>
    <slug>uuid-v5</slug>
    <name>UUIDv5 (名前ベース/SHA-1)</name>
    <description>名前空間と名前からSHA-1ハッシュで生成されるUUIDです。</description>
    <algorithm>SHA-1 hash of namespace + name</algorithm>
    <recommended>true</recommended>
    <sortable>false</sortable>
  </item>
  <item>
    <code>v6</code>
    <slug>uuid-v6</slug>
    <name>UUIDv6 (並べ替え時間ベース)</name>
    <description>UUIDv1のフィールドを並べ替えた時間ベースUUIDです。</description>
    <algorithm>Reordered UUIDv1 timestamp</algorithm>
    <recommended>false</recommended>
    <sortable>true</sortable>
  </item>
  <item>
    <code>v7</code>
    <slug>uuid-v7</slug>
    <name>UUIDv7 (Unixエポック時間ベース)</name>
    <description>Unixタイムスタンプベースで推奨される最新のUUIDです。</description>
    <algorithm>48-bit Unix timestamp + 74-bit random</algorithm>
    <recommended>true</recommended>
    <sortable>true</sortable>
  </item>
  <item>
    <code>v8</code>
    <slug>uuid-v8</slug>
    <name>UUIDv8 (カスタム)</name>
    <description>実装者定義のカスタムUUIDフォーマットです。</description>
    <algorithm>Implementation-defined custom</algorithm>
    <recommended>false</recommended>
    <sortable></sortable>
  </item>
</items>