[][src]Trait stream_cipher::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; }
This is supported on crate feature block-cipher only.

Trait for initializing a stream cipher from a mutable block cipher

Associated Types

type BlockCipher: BlockCipherMut

This is supported on crate feature block-cipher only.

Block cipher

type NonceSize: ArrayLength<u8>

This is supported on crate feature block-cipher only.

Nonce size in bytes

Loading content...

Required methods

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

This is supported on crate feature block-cipher only.

Instantiate a stream cipher from a block cipher

Loading content...

Implementors

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

type BlockCipher = Self::BlockCipher

This is supported on crate feature block-cipher only.

type NonceSize = Self::NonceSize

This is supported on crate feature block-cipher only.
Loading content...