Function openssl::crypto::hash::hash [-] [+] [src]

pub fn hash(t: Type, data: &[u8]) -> Vec<u8>

Computes the hash of the data with the hash t.