pub fn slice_to_hash(input_slice: &[u8]) -> HashType
Convert a &[u8] to a [u8; 32]
&[u8]
Panics if the input does not have length 32.