pub fn hash(t: MessageDigest, data: &[u8]) -> Result<DigestBytes, ErrorStack>Expand description
Computes the hash of the data with the non-XOF hasher t.
pub fn hash(t: MessageDigest, data: &[u8]) -> Result<DigestBytes, ErrorStack>Computes the hash of the data with the non-XOF hasher t.