pub fn hash(data: impl AsRef<[u8]>) -> [u8; 20]
Computes TentHash in one go for a contiguous slice of data.
let hash = tenthash::hash("Hello world!"); assert_eq!(&hash[..4], &[0x15, 0x5f, 0xa, 0x35]);