pub struct EcbDecryptor<T, X> { /* private fields */ }
Expand description
ECB Decryption mode
Implementations§
Source§impl<T: BlockDecryptor, X: PaddingProcessor> EcbDecryptor<T, X>
impl<T: BlockDecryptor, X: PaddingProcessor> EcbDecryptor<T, X>
Sourcepub fn new(algo: T, padding: X) -> EcbDecryptor<T, DecPadding<X>>
pub fn new(algo: T, padding: X) -> EcbDecryptor<T, DecPadding<X>>
Create a new ECB decryption mode object
pub fn reset(&mut self)
Trait Implementations§
Source§impl<T: BlockDecryptor, X: PaddingProcessor> Decryptor for EcbDecryptor<T, X>
impl<T: BlockDecryptor, X: PaddingProcessor> Decryptor for EcbDecryptor<T, X>
fn decrypt( &mut self, input: &mut RefReadBuffer<'_>, output: &mut RefWriteBuffer<'_>, eof: bool, ) -> Result<BufferResult, SymmetricCipherError>
Auto Trait Implementations§
impl<T, X> Freeze for EcbDecryptor<T, X>
impl<T, X> RefUnwindSafe for EcbDecryptor<T, X>where
X: RefUnwindSafe,
T: RefUnwindSafe,
impl<T, X> Send for EcbDecryptor<T, X>
impl<T, X> Sync for EcbDecryptor<T, X>
impl<T, X> Unpin for EcbDecryptor<T, X>
impl<T, X> UnwindSafe for EcbDecryptor<T, X>where
X: UnwindSafe,
T: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more