Function openssl::hash::hash
[−]
[src]
pub fn hash(t: MessageDigest, data: &[u8]) -> Result<Vec<u8>, ErrorStack>
Computes the hash of the data
with the hash t
.