[−][src]Trait aead::NewAead
Associated Types
type KeySize: ArrayLength<u8>
The size of the key array required by this algorithm.
Required methods
Loading content...Provided methods
fn new_varkey(key: &[u8]) -> Result<Self, Error> where
Self: Sized,
Self: Sized,
Create new AEAD instance from key with variable size.
Default implementation will accept only keys with length equal to KeySize
.