Expand description
Api functions related to cryptographic box encryption / decryption using the curve25519xsalsa20poly1305 algorithm.
See crypto_box module-level documentation for usage examples.
Constants§
- length of box mac
- length of box nonce
- length of box public key
- sealed box extra bytes
- length of box secret key
- length of box seed
Functions§
- encrypt data with box_curve25519xsalsa20poly1305_easy
- create a box curve25519xsalsa20poly1305 keypair from entropy
- decrypt data with box_curve25519xsalsa20poly1305_open_easy
- seal (encrypt) a message with an ephemeral key that can’t even be decrypted by this sender.
- open (decrypt) a sealed message.
- create a box curve25519xsalsa20poly1305 keypair from a private seed