Function openssl::hash::hash2
[−]
[src]
pub fn hash2(t: MessageDigest, data: &[u8]) -> Result<DigestBytes, ErrorStack>
Computes the hash of the data
with the hash t
.
Unlike hash
, this function does not allocate the return value.