Trait cipher::FromBlockCipher [−][src]
pub trait FromBlockCipher { type BlockCipher: BlockCipher; fn from_block_cipher(cipher: Self::BlockCipher) -> Self; }
Trait for types which can be initialized from a block cipher.
Associated Types
type BlockCipher: BlockCipher
[src]
Block cipher used for initialization.
Required methods
fn from_block_cipher(cipher: Self::BlockCipher) -> Self
[src]
Initialize instance from block cipher.