Skip to main content

hash_digest

Function hash_digest 

Source
pub fn hash_digest(
    alg: HashAlgorithm,
    message: &[u8],
) -> Result<Vec<u8>, AlgorithmError>
Expand description

Compute a digest using the selected hash algorithm.