Method to symmetrically encrypt the data using xsalsa20-poly1305 algorithm.
Encrypted data
Data to encrypt
Symmetric key to encrypt the data
Generated using TypeDoc
Description
Method to symmetrically encrypt the data using xsalsa20-poly1305 algorithm.
Returns
Encrypted data