compute_hash

Function compute_hash 

Source
pub fn compute_hash(
    hash_fn: &mut HashFunc,
    data: &[u8],
) -> Result<Vec<u8>, TinkError>
Expand description

Calculate a hash of the given data using the given hash function.