Module sodiumoxide::crypto::aead::chacha20poly1305_ietf
[−]
[src]
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).
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 |
|
| gen_nonce |
|
| open |
|
| open_detached |
|
| seal |
|
| seal_detached |
|