Trait crypto::symmetriccipher::BlockEncryptor
[-] [+]
[src]
pub trait BlockEncryptor { fn block_size(&self) -> usize; fn encrypt_block(&self, input: &[u8], output: &mut [u8]); }
Required Methods
fn block_size(&self) -> usize
fn encrypt_block(&self, input: &[u8], output: &mut [u8])
Implementors
impl BlockEncryptor for AesSafe128Encryptor
impl BlockEncryptor for AesSafe192Encryptor
impl BlockEncryptor for AesSafe256Encryptor
impl BlockEncryptor for Blowfish
impl BlockEncryptor for AesNiEncryptor