crypto::symmetriccipher

Trait BlockEncryptor

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

Required Methods§

Source

fn block_size(&self) -> usize

Source

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

Implementors§