Trait block_cipher_trait::BlockCipher [] [src]

pub trait BlockCipher {
    type BlockSize: ArrayLength<u8>;
    fn encrypt_block(&self, block: &mut GenericArray<u8, Self::BlockSize>);
fn decrypt_block(&self, block: &mut GenericArray<u8, Self::BlockSize>); }

Main block cipher trait which defines in-place encryption and decryption over single block

Associated Types

Required Methods

Encrypt block in-place

Decrypt block in-place

Implementors