Wrapper around nacl.box. Authenticated encryption of a message for a recipient's public key.
Encrypted message and nonce used for encryption.
String or byte array to be encrypted.
Public key of the recipient. The owner will be able to decrypt the message.
Private key of the sender. Necessary to authenticate the message during decryption.
Wrapper around nacl.box. Authenticated encryption of a message for a recipient's public key.
Returns
Encrypted message and nonce used for encryption.