pub trait CbcEncryptor<B> {
// Required method
fn to_cbc_enc(self, iv: &[u8]) -> impl BlockMode + 'static;
}Expand description
Trait for ciphers that have optimized CBC encryption implementation
Required Methods§
Sourcefn to_cbc_enc(self, iv: &[u8]) -> impl BlockMode + 'static
fn to_cbc_enc(self, iv: &[u8]) -> impl BlockMode + 'static
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.