crypto::symmetriccipher

Trait SynchronousStreamCipher

Source
pub trait SynchronousStreamCipher {
    // Required method
    fn process(&mut self, input: &[u8], output: &mut [u8]);
}

Required Methods§

Source

fn process(&mut self, input: &[u8], output: &mut [u8])

Trait Implementations§

Source§

impl Decryptor for Box<dyn SynchronousStreamCipher + 'static>

Source§

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

Source§

impl Encryptor for Box<dyn SynchronousStreamCipher + 'static>

Source§

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

Source§

impl SynchronousStreamCipher for Box<dyn SynchronousStreamCipher + 'static>

Source§

fn process(&mut self, input: &[u8], output: &mut [u8])

Implementations on Foreign Types§

Source§

impl SynchronousStreamCipher for Box<dyn SynchronousStreamCipher + 'static>

Source§

fn process(&mut self, input: &[u8], output: &mut [u8])

Implementors§