Function hdk::hash::hash_blake2b

source ·
pub fn hash_blake2b(
    input: Vec<u8>,
    output_len: u8
) -> Result<Vec<u8>, WasmError>
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.