Trait SpongeConstants

Source
pub trait SpongeConstants {
    const PERM_ROUNDS_FULL: usize;
    const PERM_ROUNDS_PARTIAL: usize;
    const PERM_HALF_ROUNDS_FULL: usize;
    const PERM_SBOX: u32;
    const PERM_FULL_MDS: bool;
    const PERM_INITIAL_ARK: bool;
    const SPONGE_CAPACITY: usize = 1usize;
    const SPONGE_WIDTH: usize = 3usize;
    const SPONGE_RATE: usize = 2usize;
}

Required Associated Constants§

Provided Associated Constants§

Source

const SPONGE_CAPACITY: usize = 1usize

Source

const SPONGE_WIDTH: usize = 3usize

Source

const SPONGE_RATE: usize = 2usize

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§