Encrypt a UTF-8 string with XChaCha20-Poly1305.
The string to encrypt.
32-byte encryption key.
Object containing ciphertext and 24-byte nonce.
ciphertext
nonce
If key is not exactly 32 bytes.
key
Encrypt a UTF-8 string with XChaCha20-Poly1305.