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.

Loading content...

Required methods

fn from_block_cipher(cipher: Self::BlockCipher) -> Self[src]

Initialize instance from block cipher.

Loading content...

Implementors

Loading content...