pub trait HkdfVariant<const PRK_LENGTH: usize>: Sealed<PRK_LENGTH> { }Expand description
HKDF algorithm variant used by Hkdf: HkdfSha256Variant or
HkdfSha512Variant.
This trait is sealed so applications cannot plug in custom cryptographic algorithms; use it to write code that is generic over the provided variants.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".