Skip to main content

hash_bytes

Function hash_bytes 

Source
pub fn hash_bytes(
    format: ObjectFormat,
    data: &[u8],
) -> Result<Digest, HashError>
Expand description

Hash arbitrary bytes with the given object format.