Trait cipher::BlockCipher[][src]

pub trait BlockCipher {
    type BlockSize: ArrayLength<u8>;
    type ParBlocks: ArrayLength<Block<Self>>;
}

Trait which marks a type as being a block cipher.

Associated Types

type BlockSize: ArrayLength<u8>[src]

Size of the block in bytes

type ParBlocks: ArrayLength<Block<Self>>[src]

Number of blocks which can be processed in parallel by cipher implementation

Loading content...

Implementations on Foreign Types

impl<Alg: BlockCipher> BlockCipher for &Alg[src]

type BlockSize = Alg::BlockSize

type ParBlocks = Alg::ParBlocks

Loading content...

Implementors

Loading content...