41.21 UUIDs

Emacs Lisp can generate and parse the most popular UUID variants to and from strings and binary. It can generate UUIDv4, UUIDv5 and UUIDv7 according to RFC 9562. UUIDv4 is a randomly generated identifier, UUIDv5 is an identifier generated from a standard namespace and a name, and UUIDv7 is a combination of a timestamp and random identifier, with the advantage of having good index performance in databases.

All UUIDs are 16 byte identifiers with a common string representation, consisting of hex digits and dashes of a predetermined length, such as ‘919108f7-52d1-4320-9bac-f847db4148a8’.