hash

Function hash 

Source
pub fn hash(data: &[u8], algo: HashAlgorithm) -> Vec<u8> ⓘ
Expand description

Computes the hash of the given data using the specified algorithm.