wire / identifier / uuidv5

UUID Version 5 (name-based, SHA-1)

UUIDv5 is a name-based UUID derived deterministically by SHA-1-hashing a namespace UUID concatenated with a name, truncating to 128 bits, then overwriting the version (5) and variant bits. Like v3 it is stable — same namespace + name always yields the same UUID — but uses SHA-1 instead of MD5 and is the RFC 9562-recommended choice for name-based ids.

identifier kind identifier status standard verification verified tier B identifier@1

aka: UUID v5 · name-based UUID (SHA-1) · version 5 UUID

identifier

spec: RFC 9562 §5.5

length 128 bits not sortable hex with dashes (8-4-4-4-12)

example:

2ed6657d-e927-568b-95e1-2665a8aea6a2

fieldbitsmeaning
sha1_high48High 48 bits of SHA-1(namespace_uuid || name) (digest truncated to 128 bits).
ver4version = 0b0101 (5), overwriting hash bits.
sha1_mid12Next 12 bits of the truncated digest.
var2variant = 0b10, overwriting hash bits.
sha1_low62Remaining 62 bits of the truncated digest.

provenance

see also

agent: curl -H 'accept: application/json' wire.phall.io/identifier/uuidv5 or /identifier/uuidv5.json