Skip to main content

audit_signing_input

Function audit_signing_input 

Source
pub fn audit_signing_input(content_hash: &[u8; 32]) -> Vec<u8> ⓘ
Expand description

Domain-separated signing input: a fixed tag + the content hash. Binding the hash (not the raw bytes) keeps the signed payload small and stable, and makes the signature independent of the canonical-bytes serialization choice.