Skip to main content

hash

Function hash 

Source
pub fn hash(input: &[u8]) -> [u8; 32]
Expand description

The 32 byte hash of a whole input.

The streaming form is Hasher; this is the one call every caller in the tree actually wants.