Function hdi::hash::hash_blake2b

source ·
pub fn hash_blake2b(input: Vec<u8>, output_len: u8) -> ExternResult<Vec<u8>>
Expand description

Hash arbitrary bytes using BLAKE2b. This is the same algorithm used by holochain for typed hashes. Notably the output hash length is configurable.