Function hacl::hazmat::blake2::blake2b

source ยท
pub fn blake2b<const LEN: usize>(payload: &[u8], key: &[u8]) -> [u8; LEN]
Expand description

BLAKE2b

Note that the output can not be more than 64. If the requested output is larger than 64, the 64-byte output value is written to the first 64 bytes of the output.

The payload and key are truncated at 2^32 bytes.

The key may be an empty slice.