Skip to main content

hash_bytes

Function hash_bytes 

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

Compute hash of a byte slice directly (zero-copy fast path).