Expand description
did:webizen: Web of Data identifier parser and deterministic concept UUID engine.
§Universal Rules Compliance
- Zero heap in hot paths: All operations take
&[u8]and caller-owned stack buffers. NoString,Vec, orBoxare allocated. - 60-bit Quin Token: Concept tokens are masked with
0x0FFF_FFFF_FFFF_FFFFwith bit 63 cleared (MSB = 0), denoting a dictionary/lexicon entity rather than a physical topological coordinate (did:q42pointer,MSB = 1).
Reference: docs/manuals/standards/did-webizen-method.md
Structs§
- Webizen
DidRef - Zero-copy reference over a validated
did:webizen:identifier.
Enums§
- Webizen
DidError - Errors returned by
parse_did_webizen. - Webizen
Realm - The functional realm of a
did:webizenidentifier.
Constants§
- PREFIX
- Mandatory URI prefix for all Webizen identifiers.
- WEBIZEN_
ONTOLOGY_ NAMESPACE - Canonical Webizen Ontology Namespace UUID (RFC 4122 Namespace UUID for Web of Data concepts).
UUID:
7f18b320-9dad-11d1-80b4-00c04fd430c8
Functions§
- derive_
concept_ uuid - Compute a deterministic RFC 4122 / RFC 9562 UUIDv5 for a concept name.
- derive_
concept_ uuid_ pq - Compute a post-quantum collision-resistant deterministic UUID (RFC 9562 UUIDv8) for a concept name using SHA-256.
- format_
concept_ urn - Format a 16-byte concept UUID into a 45-character
urn:uuid:...ASCII slice. - format_
uuid_ hex - Format a 16-byte UUID into standard 36-character hyphenated lowercase hex ASCII.
- parse_
did_ webizen - Parse a
did:webizen:byte slice into a zero-copyWebizenDidRef. - quin_
concept_ token - Compute the 60-bit FNV-1a Quin token for an identifier or UUID URN.
- verify_
dual_ signature - Verify a hybrid DualProof (ML-DSA-65 + Ed25519) digital signature over a message.
- verify_
pq_ signature - Verify an ML-DSA-65 (FIPS-204) post-quantum digital signature over a message.