Trait tiny_keccak::Xof[][src]

pub trait Xof {
    fn squeeze(&mut self, output: &mut [u8]);
}
Expand description

Extendable-output function (XOF) is a function on bit strings in which the output can be extended to any desired length.

Example

let mut output = [0u8; 64];
xof.squeeze(&mut output[0..32]);
xof.squeeze(&mut output[32..]);

Required methods

A method used to retrieve another part of hash function output.

Implementors