[−][src]Trait stream_cipher::FromBlockCipher
This is supported on
feature="block-cipher"
only.Trait for initializing a stream cipher from a block cipher
Associated Types
type BlockCipher: BlockCipher + NewBlockCipher
This is supported on
feature="block-cipher"
only.Block cipher
Required methods
fn from_block_cipher(
cipher: Self::BlockCipher,
nonce: &Block<Self::BlockCipher>
) -> Self
cipher: Self::BlockCipher,
nonce: &Block<Self::BlockCipher>
) -> Self
This is supported on
feature="block-cipher"
only.Instantiate a stream cipher from a block cipher