pub trait HashAlgParams: Algorithm {
const OUTPUT_LEN: usize;
const BLOCK_LEN: usize;
}Expand description
Standard parameters for a hash function.
Required Associated Constants§
Sourceconst OUTPUT_LEN: usize
const OUTPUT_LEN: usize
The fixed output length of the hash function.
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.