pub fn hash_caps(data: &[u8], algo: Algo) -> Result<Hash, String>
Expand description
Hashes the result of compute_disco() with one of the supported hash algorithms.
pub fn hash_caps(data: &[u8], algo: Algo) -> Result<Hash, String>
Hashes the result of compute_disco() with one of the supported hash algorithms.