pub(crate) fn hash(bytes: &[u8]) -> [u8; 32]
Helper function to generate the blake2b_256 hash of a byte slice
blake2b_256