[][src]Struct crypto::blockmodes::EcbEncryptor

pub struct EcbEncryptor<T, X> { /* fields omitted */ }

ECB Encryption mode

Methods

impl<T: BlockEncryptor, X: PaddingProcessor> EcbEncryptor<T, X>[src]

pub fn new(algo: T, padding: X) -> EcbEncryptor<T, EncPadding<X>>[src]

Create a new ECB encryption mode object

pub fn reset(&mut self)[src]

Trait Implementations

impl<T: BlockEncryptor, X: PaddingProcessor> Encryptor for EcbEncryptor<T, X>[src]

Auto Trait Implementations

impl<T, X> Unpin for EcbEncryptor<T, X> where
    T: Unpin,
    X: Unpin

impl<T, X> Sync for EcbEncryptor<T, X> where
    T: Sync,
    X: Sync

impl<T, X> Send for EcbEncryptor<T, X> where
    T: Send,
    X: Send

impl<T, X> UnwindSafe for EcbEncryptor<T, X> where
    T: UnwindSafe,
    X: UnwindSafe

impl<T, X> RefUnwindSafe for EcbEncryptor<T, X> where
    T: RefUnwindSafe,
    X: RefUnwindSafe

Blanket Implementations

impl<T> From<T> for T[src]

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

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

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> 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> BorrowMut<T> for T where
    T: ?Sized
[src]

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

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