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

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

ECB Encryption mode

Methods

impl<T: BlockEncryptor, X: PaddingProcessor> EcbEncryptor<T, X>

fn new(algo: T, padding: X) -> EcbEncryptor<T, EncPadding<X>>

Create a new ECB encryption mode object

fn reset(&mut self)

Trait Implementations

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

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