Struct crypto::blockmodes::CbcEncryptor
source · [−]pub struct CbcEncryptor<T, X> { /* private fields */ }
Expand description
CBC encryption mode
Implementations
sourceimpl<T: BlockEncryptor, X: PaddingProcessor> CbcEncryptor<T, X>
impl<T: BlockEncryptor, X: PaddingProcessor> CbcEncryptor<T, X>
Trait Implementations
sourceimpl<T: BlockEncryptor, X: PaddingProcessor> Encryptor for CbcEncryptor<T, X>
impl<T: BlockEncryptor, X: PaddingProcessor> Encryptor for CbcEncryptor<T, X>
fn encrypt(
&mut self,
input: &mut RefReadBuffer<'_>,
output: &mut RefWriteBuffer<'_>,
eof: bool
) -> Result<BufferResult, SymmetricCipherError>
Auto Trait Implementations
impl<T, X> RefUnwindSafe for CbcEncryptor<T, X> where
T: RefUnwindSafe,
X: RefUnwindSafe,
impl<T, X> Send for CbcEncryptor<T, X> where
T: Send,
X: Send,
impl<T, X> Sync for CbcEncryptor<T, X> where
T: Sync,
X: Sync,
impl<T, X> Unpin for CbcEncryptor<T, X> where
T: Unpin,
X: Unpin,
impl<T, X> UnwindSafe for CbcEncryptor<T, X> where
T: UnwindSafe,
X: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more