hash

Function hash 

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

Compute hash of data using the specified algorithm. Uses default configuration (seed = 0, no secret).