Skip to main content

derive_concept_uuid

Function derive_concept_uuid 

Source
pub fn derive_concept_uuid(concept_name: &[u8]) -> [u8; 16]
Expand description

Compute a deterministic RFC 4122 / RFC 9562 UUIDv5 for a concept name.

Combines the canonical WEBIZEN_ONTOLOGY_NAMESPACE with the supplied concept name bytes via SHA-1, setting UUID version 5 and RFC 4122 variant bits.

Guaranteed zero heap allocations. Returns the raw 16-byte UUID.