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