Skip to main content

๐Ÿชช Identifier

UUIDโ€‹

VersionInputUse CaseNotes
v1Time + MAC addressAvoidPrivacy concerns because the MAC address
v2Time + POSIX UID/GID (DCE)Avoid
v3Namespace UUID + name (string)Avoid, use UUIDv5 insteadDeterministic, MD5 hashing
v4Random bitsGeneral purpose unique identifiersConsider using UUIDv7
v5Namespace UUID + name (string)Need deterministicDeterministic, SHA-1 hashing
v6Reordered time + MAC addressAvoid, use UUIDv7 insteadPrivacy concerns because the MAC address
v7Unix timestamp + random bitsGeneral purpose unique identifiersTime-ordered
v8CustomRarely usedUser-defined format

Nano IDโ€‹

Small, secure, URL-friendly.

ai/nanoidย (0)