Trait crypto::symmetriccipher::Encryptor
[−]
[src]
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>
Implementors
impl<T: BlockEncryptor, X: PaddingProcessor> Encryptor for EcbEncryptor<T, X>
impl<T: BlockEncryptor, X: PaddingProcessor> Encryptor for CbcEncryptor<T, X>
impl<A: BlockEncryptor> Encryptor for CtrMode<A>
impl<A: BlockEncryptorX8> Encryptor for CtrModeX8<A>
impl Encryptor for ChaCha20
impl Encryptor for Hc128
impl Encryptor for Rc4
impl Encryptor for Salsa20
impl Encryptor for Sosemanuk
impl Encryptor for Box<SynchronousStreamCipher + 'static>