[−][src]Struct cfb8::Cfb8
CFB self-synchronizing stream cipher instance.
Trait Implementations
impl<C: BlockCipher> NewStreamCipher for Cfb8<C>
[src]
type KeySize = C::KeySize
Key size in bytes
type NonceSize = C::BlockSize
Nonce size in bytes
fn new(
key: &GenericArray<u8, Self::KeySize>,
iv: &GenericArray<u8, Self::NonceSize>
) -> Self
[src]
key: &GenericArray<u8, Self::KeySize>,
iv: &GenericArray<u8, Self::NonceSize>
) -> Self
fn new_var(key: &[u8], iv: &[u8]) -> Result<Self, InvalidKeyNonceLength>
[src]
impl<C: BlockCipher> StreamCipher for Cfb8<C>
[src]
Auto Trait Implementations
impl<C> Send for Cfb8<C> where
C: Send,
<C as BlockCipher>::BlockSize: ArrayLength<u8>,
C: Send,
<C as BlockCipher>::BlockSize: ArrayLength<u8>,
impl<C> Sync for Cfb8<C> where
C: Sync,
<C as BlockCipher>::BlockSize: ArrayLength<u8>,
C: Sync,
<C as BlockCipher>::BlockSize: ArrayLength<u8>,
Blanket Implementations
impl<T> From for T
[src]
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Same for T
type Output = T
Should always be Self
impl<C> StreamCipher for C where
C: SyncStreamCipher,
[src]
C: SyncStreamCipher,