Decrypt a packed XChaCha20-Poly1305 buffer (nonce prepended to ciphertext).
Input format: nonce(24) || ciphertext.
nonce(24) || ciphertext
The packed buffer to decrypt.
32-byte encryption key.
The decrypted plaintext.
If the packed data is too short, key is invalid, or authentication fails.
Decrypt a packed XChaCha20-Poly1305 buffer (nonce prepended to ciphertext).
Input format:
nonce(24) || ciphertext.