Skip to content

Function crypto::content_hash

zaun_community_protocol::crypto::content_hash · Function

pub fn content_hash(bytes: &[u8]) -> [u8; 32]

SHA3-256(bytes): how signed objects are identified, deduplicated and chained (never by signature bytes, the protocol), for example a delegation_hash.

Full rustdoc page