ulid
Generate Universally Unique Lexicographically Sortable Identifiers in ZuzuScript.
from ulid import create_ulid, create_ulid_binary; say create_ulid(); let raw := create_ulid_binary();
create_ulid() returns the canonical 26-character uppercase Crockford Base32 form. create_ulid_binary() returns the same 128-bit layout as a 16-byte BinaryString.
Each identifier contains a 48-bit Unix timestamp in milliseconds and an 80-bit random component generated by std/secure. Identifiers generated within the same millisecond use monotonic randomness so that later identifiers continue to sort after earlier ones.