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