Trait aead::stream::NewStream [−][src]
This is supported on crate feature
stream
only.Create a new STREAM from the provided AEAD.
Required methods
fn from_aead(aead: A, nonce: &Nonce<A, Self>) -> Self
[src]
Create a new STREAM from the given AEAD cipher.
Provided methods
fn new(key: &Key<A>, nonce: &Nonce<A, Self>) -> Self where
A: NewAead,
Self: Sized,
[src]
A: NewAead,
Self: Sized,
Create a new STREAM with the given key and nonce.
Implementors
impl<A> NewStream<A> for StreamBE32<A> where
A: AeadInPlace,
A::NonceSize: Sub<U5>,
<<A as AeadCore>::NonceSize as Sub<U5>>::Output: ArrayLength<u8>,
[src]
A: AeadInPlace,
A::NonceSize: Sub<U5>,
<<A as AeadCore>::NonceSize as Sub<U5>>::Output: ArrayLength<u8>,
impl<A> NewStream<A> for StreamLE31<A> where
A: AeadInPlace,
A::NonceSize: Sub<U4>,
<<A as AeadCore>::NonceSize as Sub<U4>>::Output: ArrayLength<u8>,
[src]
A: AeadInPlace,
A::NonceSize: Sub<U4>,
<<A as AeadCore>::NonceSize as Sub<U4>>::Output: ArrayLength<u8>,