Trait stream_cipher::NewFixStreamCipher[][src]

pub trait NewFixStreamCipher {
    type KeySize: ArrayLength<u8>;
    type NonceSize: ArrayLength<u8>;
    fn new(
        key: &GenericArray<u8, Self::KeySize>,
        nonce: &GenericArray<u8, Self::NonceSize>
    ) -> Self; }

Synchronous stream cipher creation trait

Associated Types

Key size in bytes

Nonce size in bytes

Required Methods

Create new stream cipher instance

Implementors