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§
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
Provided Associated Constants§
const SPONGE_CAPACITY: usize = 1usize
const SPONGE_WIDTH: usize = 3usize
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.