[][src]Function tink_core::subtle::compute_hash

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.