pub struct Shake { /* private fields */ }
Expand description

The SHAKE extendable-output functions defined in FIPS-202.

Usage

[dependencies]
tiny-keccak = { version = "2.0.0", features = ["shake"] }

Implementations

Creates new Shake hasher with a security level of 128 bits.

Creates new Shake hasher with a security level of 256 bits.

Trait Implementations

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Absorb additional input. Can be called multiple times.
Pad and squeeze the state to the output.
A method used to retrieve another part of hash function output.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.