crypto::symmetriccipher

Trait BlockDecryptor

Source
pub trait BlockDecryptor {
    // Required methods
    fn block_size(&self) -> usize;
    fn decrypt_block(&self, input: &[u8], output: &mut [u8]);
}

Required Methods§

Source

fn block_size(&self) -> usize

Source

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

Implementors§