Struct ring_compat::aead::ChaCha20Poly1305[][src]

pub struct ChaCha20Poly1305(_);
This is supported on crate feature aead only.

ChaCha20Poly1305

Trait Implementations

impl AeadCore for ChaCha20Poly1305[src]

type NonceSize = U12

The length of a nonce.

type TagSize = U16

The maximum length of the nonce.

type CiphertextOverhead = U0

The upper bound amount of additional space required to support a ciphertext vs. a plaintext. Read more

impl AeadInPlace for ChaCha20Poly1305[src]

impl Drop for ChaCha20Poly1305[src]

impl NewAead for ChaCha20Poly1305[src]

type KeySize = U32

The size of the key array required by this algorithm.

Auto Trait Implementations

Blanket Implementations

impl<Alg> Aead for Alg where
    Alg: AeadInPlace
[src]

impl<Alg> AeadMut for Alg where
    Alg: AeadMutInPlace
[src]

impl<Alg> AeadMutInPlace for Alg where
    Alg: AeadInPlace
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.