Trait block_cipher_trait::NewFixKey [] [src]

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

Trait for creation of block cipher with fixed size key

Associated Types

Required Methods

Create new block cipher instance with given fixed size key

Implementors