blake2s

Function blake2s 

Source
pub fn blake2s(out: &mut [u8], key: &[u8], data: &[u8]) -> Result<(), Error>
Expand description

blake2s is a one-shot Blake2s hash calculation.

  • out is the output-buffer and should be between 1 and 32 (inclusive) bytes in size. The output-buffer is expected to be exactly sliced.

§Errors

In case of invalid input arguments.

§Panics

  • In case of exceedingly large out-buffer.