Decrypt binary data with AES-256-GCM.
Data to decrypt (includes the 16-byte GCM auth tag).
32-byte AES-256 key (must match the encryption key).
12-byte nonce used during encryption.
The decrypted plaintext as a Uint8Array.
Uint8Array
If key is not 32 bytes, or if decryption/authentication fails.
key
Decrypt binary data with AES-256-GCM.