Skip to main content

policy_digest

Function policy_digest 

Source
pub fn policy_digest(doc: &PolicyDocument) -> [u8; 32]
Expand description

Canonical digest: domain, fixed LE scalar fields, tagged digest scopes, and length-prefixed ordered collections. JSON formatting never changes identity.