Skip to main content

resource_leaf

Function resource_leaf 

Source
pub fn resource_leaf(ciphertext: &[u8]) -> Bytes32
Expand description

The content leaf: SHA-256(ciphertext) (rule 2). This is the only crypto this leaf crate performs directly; it matches digstore_core::resource_leaf.