[−][src]Crate private_box
Structs
| PublicKey |
|
| SecretKey |
|
Functions
| decrypt | Attempt to decrypt a private-box message, using your secret key.
If you were an intended recipient then the decrypted message is
returned as |
| encrypt | Takes the message you want to encrypt, and an array of recipient public keys.
Returns a message that is encrypted to all recipients and openable by them
with |
| init | libsodium must be initialised before calling |