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
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>)