Function hash

Source
pub fn hash<U>(data: impl AsRef<[u8]>) -> U::Digest
where U: Update,
Expand description

Computes the hash of the given input.