[][src]Struct block_modes::Ecb

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

Electronic Codebook (ECB) block cipher mode instance.

Note that new method ignores IV, so during initialization you can just pass Default::default() instead.

Trait Implementations

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

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

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 Ecb<C, P> where
    C: Send,
    P: Send

impl<C, P> Sync for Ecb<C, P> where
    C: Sync,
    P: Sync

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