pub trait HashAlgorithm:
SealedAlgorithm
+ Copy
+ 'static {
type Digest: Buffer;
const BLOCK_LEN: usize;
const DIGEST_LEN: usize;
}Expand description
Required Associated Constants§
Sourceconst DIGEST_LEN: usize
const DIGEST_LEN: usize
Digest length in bytes.
Required Associated Types§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".