Module sodoken::box_curve25519xchacha20poly1305[][src]

Expand description

Api functions related to cryptographic box encryption / decryption.

Constants

length of box mac

length of box nonce

length of box public key

length of box secret key

length of box seed

Functions

encrypt data with box_curve25519xchacha20poly1305_easy

create a box curve25519xchacha20poly1305 keypair from entropy

decrypt data with box_curve25519xchacha20poly1305_open_easy

calculate the message len for an easy cipher len

create a box curve25519xchacha20poly1305 keypair from a private seed