Trait block_cipher_trait::BlockCipher
[−]
[src]
pub trait BlockCipher { type BlockSize: ArrayLength<u8>; fn new(key: &[u8]) -> Self; 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 new(key: &[u8]) -> Self
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>)