Trait block_cipher_trait::BlockCipher
[−]
[src]
pub trait BlockCipher { type BlockSize: ArrayLength<u8>; fn encrypt_block(&self,
input: &Block<Self::BlockSize>,
output: &mut Block<Self::BlockSize>); fn decrypt_block(&self,
input: &Block<Self::BlockSize>,
output: &mut Block<Self::BlockSize>); }
Associated Types
type BlockSize: ArrayLength<u8>
Required Methods
fn encrypt_block(&self,
input: &Block<Self::BlockSize>,
output: &mut Block<Self::BlockSize>)
input: &Block<Self::BlockSize>,
output: &mut Block<Self::BlockSize>)
fn decrypt_block(&self,
input: &Block<Self::BlockSize>,
output: &mut Block<Self::BlockSize>)
input: &Block<Self::BlockSize>,
output: &mut Block<Self::BlockSize>)