Struct sha3::Sha3 [] [src]

pub struct Sha3<N: ArrayLength<u8>, K: ArrayLength<u8>, M: ArrayLength<u8>> { /* fields omitted */ }

Generic SHA-3 hasher. Type arguments meaning: N -- digest len, K -- rate and block size, M -- padding property

Methods

impl<N, K, M> Sha3<N, K, M> where N: ArrayLength<u8>, K: ArrayLength<u8>, M: ArrayLength<u8>
[src]

New SHA-3 instanciated from specified SHA-3 mode.

Trait Implementations

impl<N: Copy + ArrayLength<u8>, K: Copy + ArrayLength<u8>, M: Copy + ArrayLength<u8>> Copy for Sha3<N, K, M>
[src]

impl<N: Clone + ArrayLength<u8>, K: Clone + ArrayLength<u8>, M: Clone + ArrayLength<u8>> Clone for Sha3<N, K, M>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<N, K, M> Default for Sha3<N, K, M> where N: ArrayLength<u8>, K: ArrayLength<u8>, M: ArrayLength<u8>
[src]

Returns the "default value" for a type. Read more

impl<L, K, M> Digest for Sha3<L, K, M> where L: ArrayLength<u8>, K: ArrayLength<u8>, M: ArrayLength<u8>
[src]

Digest input data. This method can be called repeatedly for use with streaming messages. Read more

Retrieve the digest result. This method consumes digest instance

Get the block size in bytes.

Create new digest instance

Get the output size in bytes.

Get the output size in bits.