Trait crypto::symmetriccipher::Decryptor
[−]
[src]
pub trait Decryptor { fn decrypt(&mut self, input: &mut RefReadBuffer, output: &mut RefWriteBuffer, eof: bool) -> Result<BufferResult, SymmetricCipherError>; }
Required Methods
fn decrypt(&mut self, input: &mut RefReadBuffer, output: &mut RefWriteBuffer, eof: bool) -> Result<BufferResult, SymmetricCipherError>
Implementors
impl<T: BlockDecryptor, X: PaddingProcessor> Decryptor for EcbDecryptor<T, X>
impl<T: BlockDecryptor, X: PaddingProcessor> Decryptor for CbcDecryptor<T, X>
impl<A: BlockEncryptor> Decryptor for CtrMode<A>
impl<A: BlockEncryptorX8> Decryptor for CtrModeX8<A>
impl Decryptor for ChaCha20
impl Decryptor for Hc128
impl Decryptor for Rc4
impl Decryptor for Salsa20
impl Decryptor for Sosemanuk
impl Decryptor for Box<SynchronousStreamCipher + 'static>