[][src]Trait cipher::stream::FromBlockCipherMut

pub trait FromBlockCipherMut {
    type BlockCipher: BlockCipherMut;
    type NonceSize: ArrayLength<u8>;
    fn from_block_cipher_mut(
        cipher: Self::BlockCipher,
        nonce: &GenericArray<u8, Self::NonceSize>
    ) -> Self; }

Trait for initializing a stream cipher from a mutable block cipher

Associated Types

type BlockCipher: BlockCipherMut

Block cipher

type NonceSize: ArrayLength<u8>

Nonce size in bytes

Loading content...

Required methods

fn from_block_cipher_mut(
    cipher: Self::BlockCipher,
    nonce: &GenericArray<u8, Self::NonceSize>
) -> Self

Instantiate a stream cipher from a block cipher

Loading content...

Implementors

impl<C> FromBlockCipherMut for C where
    C: FromBlockCipher
[src]

type BlockCipher = Self::BlockCipher

type NonceSize = Self::NonceSize

Loading content...