Function slice_to_hash

Source
pub fn slice_to_hash(slice: &[u8]) -> Hash
Expand description

Get a fixed length byte-array or Hash from slice.