Module hash

Module hash 

Source
Expand description

Canonicalization and Semantic Hashing

BLAKE3 hashes over canonical payloads detect meaning drift across retries and multi-hop flows.

Functionsยง

canonicalize
Canonicalize a JSON value for deterministic hashing
hash_canonical
Compute semantic hash from a canonical string (already canonicalized)
semantic_hash
Compute the semantic hash of a JSON value
verify_hash
Verify that a payload matches its declared semantic hash