[−][src]Trait aead::NewAead
Instantiate either a stateless (Aead
) or stateful (AeadMut
) algorithm.
Associated Types
type KeySize: ArrayLength<u8>
The size of the key array required by this algorithm.
Required methods
fn new(key: GenericArray<u8, Self::KeySize>) -> Self
Construct a new stateful instance for the given key.