Struct cfb_mode::BufEncryptor
source · [−]pub struct BufEncryptor<C>where
C: BlockEncryptMut + BlockCipher,{ /* private fields */ }
Expand description
CFB mode buffered encryptor.
Implementations
sourceimpl<C> BufEncryptor<C>where
C: BlockEncryptMut + BlockCipher,
impl<C> BufEncryptor<C>where
C: BlockEncryptMut + BlockCipher,
Trait Implementations
sourceimpl<C> AlgorithmName for BufEncryptor<C>where
C: BlockEncryptMut + BlockCipher + AlgorithmName,
impl<C> AlgorithmName for BufEncryptor<C>where
C: BlockEncryptMut + BlockCipher + AlgorithmName,
sourcefn write_alg_name(f: &mut Formatter<'_>) -> Result
fn write_alg_name(f: &mut Formatter<'_>) -> Result
Write algorithm name into f
.
sourceimpl<C: Clone> Clone for BufEncryptor<C>where
C: BlockEncryptMut + BlockCipher,
impl<C: Clone> Clone for BufEncryptor<C>where
C: BlockEncryptMut + BlockCipher,
sourcefn clone(&self) -> BufEncryptor<C>
fn clone(&self) -> BufEncryptor<C>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl<C> Debug for BufEncryptor<C>where
C: BlockEncryptMut + BlockCipher + AlgorithmName,
impl<C> Debug for BufEncryptor<C>where
C: BlockEncryptMut + BlockCipher + AlgorithmName,
sourceimpl<C: BlockEncryptMut + BlockCipher> Drop for BufEncryptor<C>
Available on crate feature zeroize
only.
impl<C: BlockEncryptMut + BlockCipher> Drop for BufEncryptor<C>
Available on crate feature
zeroize
only.sourceimpl<C> InnerIvInit for BufEncryptor<C>where
C: BlockEncryptMut + BlockCipher,
impl<C> InnerIvInit for BufEncryptor<C>where
C: BlockEncryptMut + BlockCipher,
sourcefn inner_iv_init(cipher: C, iv: &Iv<Self>) -> Self
fn inner_iv_init(cipher: C, iv: &Iv<Self>) -> Self
Initialize value using inner
and iv
array.
fn inner_iv_slice_init(
inner: Self::Inner,
iv: &[u8]
) -> Result<Self, InvalidLength>
fn inner_iv_slice_init(
inner: Self::Inner,
iv: &[u8]
) -> Result<Self, InvalidLength>
Initialize value using inner
and iv
slice.
sourceimpl<C> InnerUser for BufEncryptor<C>where
C: BlockEncryptMut + BlockCipher,
impl<C> InnerUser for BufEncryptor<C>where
C: BlockEncryptMut + BlockCipher,
type Inner = C
type Inner = C
Inner type.
sourceimpl<C> IvSizeUser for BufEncryptor<C>where
C: BlockEncryptMut + BlockCipher,
impl<C> IvSizeUser for BufEncryptor<C>where
C: BlockEncryptMut + BlockCipher,
impl<C: BlockEncryptMut + BlockCipher + ZeroizeOnDrop> ZeroizeOnDrop for BufEncryptor<C>
Available on crate feature
zeroize
only.Auto Trait Implementations
impl<C> RefUnwindSafe for BufEncryptor<C>where
C: RefUnwindSafe,
<<C as BlockSizeUser>::BlockSize as ArrayLength<u8>>::ArrayType: RefUnwindSafe,
impl<C> Send for BufEncryptor<C>where
C: Send,
impl<C> Sync for BufEncryptor<C>where
C: Sync,
impl<C> Unpin for BufEncryptor<C>where
C: Unpin,
<<C as BlockSizeUser>::BlockSize as ArrayLength<u8>>::ArrayType: Unpin,
impl<C> UnwindSafe for BufEncryptor<C>where
C: UnwindSafe,
<<C as BlockSizeUser>::BlockSize as ArrayLength<u8>>::ArrayType: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more