Function hacl::hazmat::blake2::simd128::blake2s

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

BLAKE2s

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

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

The key may be an empty slice.