[][src]Trait crypto::symmetriccipher::Encryptor

pub trait Encryptor {
    fn encrypt(
        &mut self,
        input: &mut RefReadBuffer,
        output: &mut RefWriteBuffer,
        eof: bool
    ) -> Result<BufferResult, SymmetricCipherError>; }

Required methods

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

Loading content...

Implementations on Foreign Types

impl Encryptor for Box<dyn SynchronousStreamCipher + 'static>[src]

Loading content...

Implementors

impl Encryptor for ChaCha20[src]

impl Encryptor for Hc128[src]

impl Encryptor for Rc4[src]

impl Encryptor for Salsa20[src]

impl Encryptor for Sosemanuk[src]

impl<A: BlockEncryptor> Encryptor for CtrMode<A>[src]

impl<A: BlockEncryptorX8> Encryptor for CtrModeX8<A>[src]

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

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

Loading content...