[][src]Struct ofb::Ofb

pub struct Ofb<C: BlockCipher> { /* fields omitted */ }

OFB self-synchronizing stream cipher instance.

Trait Implementations

impl<C: BlockCipher> NewStreamCipher for Ofb<C>[src]

type KeySize = C::KeySize

Key size in bytes

type NonceSize = C::BlockSize

Nonce size in bytes

impl<C: BlockCipher> SyncStreamCipher for Ofb<C>[src]

fn apply_keystream(&mut self, data: &mut [u8])[src]

Apply keystream to the data. Read more

Auto Trait Implementations

impl<C> Send for Ofb<C> where
    C: Send,
    <C as BlockCipher>::BlockSize: ArrayLength<u8>, 

impl<C> Sync for Ofb<C> where
    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]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<C> StreamCipher for C where
    C: SyncStreamCipher
[src]

impl<T> Same for T

type Output = T

Should always be Self