Trait idea::BlockCipher[][src]

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

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<GenericArray<u8, Self::BlockSize>>[src]

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

Loading content...

Implementors

impl BlockCipher for Idea[src]

type BlockSize = U8

type ParBlocks = U1

impl<'_, Alg> BlockCipher for &'_ Alg where
    Alg: BlockCipher
[src]

Loading content...