tink_core::subtle
pub fn compute_hash( hash_fn: &mut HashFunc, data: &[u8]) -> Result<Vec<u8>, TinkError>
Calculate a hash of the given data using the given hash function.