Trait ark_sponge::SpongeExt[][src]

pub trait SpongeExt: CryptographicSponge {
    type State: Clone;
    fn from_state(state: Self::State, params: &Self::Parameters) -> Self;
fn into_state(self) -> Self::State; }
Expand description

An extension for the interface of a cryptographic sponge. In addition to operations defined in CryptographicSponge, SpongeExt can convert itself to a state, and instantiate itself from state.

Associated Types

The full state of the cryptographic sponge.

Required methods

Returns a sponge that uses state.

Consumes self and returns the state.

Implementors