hash

Function hash 

Source
pub fn hash(b: &[u8]) -> Hash
Expand description

Generate a sha256 hash digest from the given byte slice.