pub fn blake2_256<D>(data: D) -> [u8; 32]where D: AsRef<[u8]>,
Hash the data into a 32-bytes array with BLAKE2 algorithm.