Skip to main content

compute_hash

Function compute_hash 

Source
pub fn compute_hash(data: &[u8], algorithm: HashAlgorithm) -> String
Expand description

Compute a hash of the given data, returning the hex-encoded digest.