Trait aead::NewAead [−][src]
pub trait NewAead {
type KeySize: ArrayLength<u8>;
fn new(key: &Key<Self>) -> Self;
fn new_varkey(key: &[u8]) -> Result<Self, Error>
where
Self: Sized,
{ ... }
}
Associated Types
type KeySize: ArrayLength<u8>
type KeySize: ArrayLength<u8>
The size of the key array required by this algorithm.