Trait ring_compat::aead::KeySizeUser
pub trait KeySizeUser {
type KeySize: ArrayLength<u8> + 'static;
// Provided method
fn key_size() -> usize { ... }
}
Available on crate feature
aead
only.Expand description
Types which use key for initialization.
Generally it’s used indirectly via KeyInit
or [KeyIvInit
].
Required Associated Types§
type KeySize: ArrayLength<u8> + 'static
type KeySize: ArrayLength<u8> + 'static
Key size in bytes.
Provided Methods§
Object Safety§
This trait is not object safe.