Visual RFC.
ALL RFCs / RFC 9562
Read the RFC ↗
RFC 9562 / MECHANISM GUIDE

Name-based and custom layouts

04

Name-based UUIDs combine a namespace with a name; other versions serve different goals.

RFC 9562 · § 5.5EXAMPLE
3 / 3
03
Respect layout semantics

Do not treat every UUID version as interchangeable random data.

Name-based and custom layoutsName-based UUIDs combine a namespace with a name; other versions serve different goals.Name-based and custom layoutsNamespace UUIDName bytesVersion-specific derivationDerived UUID ≠ proof that the name is genuine

Key idea: Version 5 uses SHA-1 over namespace and name as defined by its layout.

Terms

Look up a term in the glossary ↗

Rules & examples
  • Version 5 uses SHA-1 over namespace and name as defined by its layout.
  • Version 6 reorders time-based fields; version 8 provides a custom layout with required version/variant bits.
  • A deterministic UUID does not prove that the underlying name is authentic.

Examples are illustrative. Consult the linked RFC and its errata for implementation details.

Sources
Protocol participantThreat or exceptionProtocol controlSimplified drawings · precise section references
New to this? Start hereA quick picture + helpful background

First, agree how to read the message.

An encoding tells a reader how to interpret bytes. A format tells it how values fit together. Correctly reading a value does not make that value trustworthy.

Helpful first, if these ideas are unfamiliar

These pictures are analogies to help you learn. The linked RFC explains the actual rules.

Related RFCs and changes

“Updates” changes part of an earlier RFC. “Obsoletes” replaces it. This list shows selected related documents.

All chapters in RFC 9562

Drawing view

Scroll the drawing to see every part. Playback controls stay above it.

RFC 9700 / CHAPTERS

Chapters

For full details, tables, algorithms, and exceptions, read the original RFC.

RFC status and corrections ↗