hash

Function hash 

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

Convinience function to creates from simple byte slices