Trait cipher::stream::FromBlockCipher [−][src]
Trait for initializing a stream cipher from a block cipher
Associated Types
type BlockCipher: BlockCipher
[src]
Block cipher
type NonceSize: ArrayLength<u8>
[src]
Nonce size in bytes
Required methods
fn from_block_cipher(
cipher: Self::BlockCipher,
nonce: &GenericArray<u8, Self::NonceSize>
) -> Self
[src]
cipher: Self::BlockCipher,
nonce: &GenericArray<u8, Self::NonceSize>
) -> Self
Instantiate a stream cipher from a block cipher