Trait tiny_keccak::Xof[][src]

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

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

fn squeeze(&mut self, output: &mut [u8])[src]

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

Loading content...

Implementors

Loading content...