pub trait HmacVariant<const KEY_LENGTH: usize, const MAC_LENGTH: usize>: Sealed<KEY_LENGTH, MAC_LENGTH> { }Expand description
HMAC algorithm variant used by Hmac: HmacSha256Variant,
HmacSha512Variant or HmacSha512256Variant.
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".