Struct crypto::blockmodes::EcbDecryptor [-] [+] [src]

pub struct EcbDecryptor<T, X> {
    // some fields omitted
}

ECB Decryption mode

Methods

impl<T: BlockDecryptor, X: PaddingProcessor> EcbDecryptor<T, X>

fn new(algo: T, padding: X) -> EcbDecryptor<T, DecPadding<X>>

Create a new ECB decryption mode object

fn reset(&mut self)

Trait Implementations

impl<T: BlockDecryptor, X: PaddingProcessor> Decryptor for EcbDecryptor<T, X>

fn decrypt(&mut self, input: &mut RefReadBuffer, output: &mut RefWriteBuffer, eof: bool) -> Result<BufferResult, SymmetricCipherError>