UUIDs
Generate v4 and v7 identifiers and understand their limits.
Choose a version
Open UUID and choose v4 or v7.
- v4 is a random identifier with fixed version and variant bits.
- v7 includes a millisecond timestamp plus random material. It can be useful when time-oriented identifiers are desired.
Ordering and privacy
UUID v7 reveals approximate creation time. Zelk does not guarantee monotonic ordering for identifiers generated within the same millisecond, and a local clock is not a trusted timestamp authority.
UUIDs identify objects; they are not a substitute for authorization, session tokens, or dedicated random secrets. Validate uniqueness in the system that stores them when required.
Output uses the conventional hyphenated UUID representation.