Trait octavo_crypto::block::BlockEncrypt
[−]
[src]
pub trait BlockEncrypt { type BlockSize: Unsigned + ArrayLength<u8>; fn encrypt_block<I, O>(&self, input: I, output: O) where I: AsRef<[u8]>, O: AsMut<[u8]>; fn block_size() -> usize { ... } }
Block encryptor definition
Associated Types
Required Methods
fn encrypt_block<I, O>(&self, input: I, output: O) where I: AsRef<[u8]>, O: AsMut<[u8]>
Encrypt single block of data
Provided Methods
fn block_size() -> usize
Single block size
Implementors
impl BlockEncrypt for Blowfish