[][src]Struct block_modes::Cbc

pub struct Cbc<C: BlockCipher, P: Padding> { /* fields omitted */ }

Cipher Block Chaining (CBC) block cipher mode isntance.

Trait Implementations

impl<C: BlockCipher, P: Padding> BlockMode<C, P> for Cbc<C, P>
[src]

Create a new block mode instance from fixed sized key and IV.

Create a new block mode instance from variable size key and IV. Read more

Encrypt message in-place. Read more

Decrypt message in-place. Read more

Important traits for Vec<u8>

Encrypt message and store result in vector.

Encrypt message and store result in vector.

Auto Trait Implementations

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

impl<C, P> Sync for Cbc<C, P> where
    C: Sync,
    P: Sync,
    <C as BlockCipher>::BlockSize: ArrayLength<u8>, 

Blanket Implementations

impl<T> From for T
[src]

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

🔬 This is a nightly-only experimental API. (try_from)

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<T> Same for T

Should always be Self