pub type XChaCha20Poly1305 = ChaChaPoly1305<XChaCha20, U24>;Expand description
XChaCha20Poly1305 Authenticated Encryption with Additional Data (AEAD).
Aliased Type§
pub struct XChaCha20Poly1305 {
pub(crate) key: GenericArray<u8, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>>,
pub(crate) stream_cipher: PhantomData<StreamCipherCoreWrapper<XChaChaCore<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B0>>>>,
pub(crate) nonce_size: PhantomData<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B0>, B0>>,
}Fields§
§key: GenericArray<u8, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>>Secret key.
stream_cipher: PhantomData<StreamCipherCoreWrapper<XChaChaCore<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B0>>>>ChaCha stream cipher.
nonce_size: PhantomData<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B0>, B0>>Nonce size.