Module sodiumoxide::crypto::aead::chacha20poly1305
[−]
[src]
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).
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 |
|