Skip to main content

canonical_hash

Function canonical_hash 

Source
pub fn canonical_hash(value: &Value) -> SignatifResult<[u8; 32]>
Expand description

SHA-256 over the JCS canonicalization — the SIGNATIF canonical payload hash of a JSON object.

§Errors

Propagates canonicalization errors.