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

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 Debug for Sha3Mode
[src]

Formats the value using the given formatter.

impl Copy for Sha3Mode
[src]

impl Clone for Sha3Mode
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more