decrypt
Decrypts ciphertext using ChaCha20.
Return
The decrypted plaintext
Parameters
ciphertext
The encrypted data
key
The 32-byte decryption key
nonce
The 12-byte nonce
Decrypts ciphertext using ChaCha20.
The decrypted plaintext
The encrypted data
The 32-byte decryption key
The 12-byte nonce