[][src]Enum crypto::sha3::Sha3Mode

pub enum Sha3Mode {
    Sha3_224,
    Sha3_256,
    Sha3_384,
    Sha3_512,
    Shake128,
    Shake256,
    Keccak224,
    Keccak256,
    Keccak384,
    Keccak512,
}

SHA-3 Modes.

Variants

Methods

impl Sha3Mode
[src]

Return the expected hash size in bytes specified for mode, or 0 for modes with variable output as for shake functions.

Return true if mode is a SHAKE mode.

Return true if mode is a Keccak mode.

Trait Implementations

impl Clone for Sha3Mode
[src]

Performs copy-assignment from source. Read more

impl Copy for Sha3Mode
[src]

impl Debug for Sha3Mode
[src]

Auto Trait Implementations

impl Send for Sha3Mode

impl Sync for Sha3Mode

Blanket Implementations

impl<T> From for T
[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> BorrowMut for T where
    T: ?Sized
[src]