use super::blake2::blake2b::blake2b; pub fn canonical_hash(input: &[u8]) -> Vec { let result = blake2b(64, &[], input); result.as_bytes()[0..32].to_vec() }