Module sodiumoxide::crypto::aead::chacha20poly1305_ietf [−][src]
Expand description
The IETF variant of the ChaCha20-Poly1305 construction can safely encrypt a practically unlimited number of messages, but individual messages cannot exceed 64*(2^32)-64 bytes (approximatively 256 GB).
Structs
Key |
|
Nonce |
|
Tag | Authentication |
Constants
KEYBYTES | Number of bytes in a |
NONCEBYTES | Number of bytes in a |
TAGBYTES | Number of bytes in an authentication |
Functions
gen_key |
|
open |
|
open_detached |
|
seal |
|
seal_detached |
|