ChaCha20-Poly1305 IETF authenticated decryption
Source:R/crypto_sym.R
morie_crypto_chacha20_poly1305_decrypt.RdPhase 3JJJ1. Inverse of morie_crypto_chacha20_poly1305_encrypt().
Accepts the full ciphertext || tag buffer (concatenate as
c(ct, tag)).
Usage
morie_crypto_chacha20_poly1305_decrypt(key, nonce, ct_with_tag, aad = raw(0))