[−][src]Trait sponge_preview::Sponge
Associated Types
type Item
Required methods
fn absorb(&mut self, input: &[Self::Item])
Absorb trits into the sponge
fn squeeze(&mut self, output: &mut [Self::Item])
Squeeze trits out of the sponge and copy them into out
fn reset(&mut self)
Reset the sponge to initial state
Provided methods
fn digest(&mut self, input: &[Self::Item], output: &mut [Self::Item])
Digest inputs and then compute the hash with length of provided output slice