pub trait Entropy<P: Purpose> {
// Required methods
fn word<const LANE: u64>(&self, input: u64) -> Word<P, LANE>;
fn permute<const LANE: u64>(&self, value: u64) -> Word<P, LANE>;
fn hash_seed<const LANE: u64>(&self) -> HashSeed;
}Expand description
Keyed words and permutations supplied by a purpose-bound random owner. Word generation and permutation rounds occupy separate domains even when their compile-time lane is the same.
Required Methods§
fn word<const LANE: u64>(&self, input: u64) -> Word<P, LANE>
fn permute<const LANE: u64>(&self, value: u64) -> Word<P, LANE>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".