Module sodiumoxide::crypto::aead [] [src]

Authenticated Encryption with Additional Data This operation:

Reexports

pub use self::chacha20poly1305_ietf::*;

Modules

chacha20poly1305

The original ChaCha20-Poly1305 construction can safely encrypt a pratically unlimited number of messages with the same key, without any practical limit to the size of a message (up to ~ 264 bytes).

chacha20poly1305_ietf

The IETF variant of the ChaCha20-Poly1305 construction can safely encrypt a practically unlimited number of messages, but individual messages cannot exceed 64*(232)-64 bytes (approximatively 256 GB).