Trait octavo_crypto::block::BlockDecrypt [] [src]

pub trait BlockDecrypt {
    type BlockSize: Unsigned + ArrayLength<u8>;
    fn decrypt_block<I, O>(&self, input: I, output: O) where I: AsRef<[u8]>, O: AsMut<[u8]>;

    fn block_size() -> usize { ... }
}

Block decryptor definition

Associated Types

type BlockSize: Unsigned + ArrayLength<u8>

Single block size

Required Methods

fn decrypt_block<I, O>(&self, input: I, output: O) where I: AsRef<[u8]>, O: AsMut<[u8]>

Decrypt single block of data

Provided Methods

fn block_size() -> usize

Single block size

Implementors