pub trait IvSizeUser {
type IvSize: ArrayLength<u8> + 'static;
// Provided method
fn iv_size() -> usize { ... }
}
Expand description
Types which use initialization vector (nonce) for initialization.
Generally it’s used indirectly via KeyIvInit
or InnerIvInit
.
Required Associated Types§
Sourcetype IvSize: ArrayLength<u8> + 'static
type IvSize: ArrayLength<u8> + 'static
Initialization vector size in bytes.
Provided Methods§
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.