AEADBadTagException: mac check in GCM failed during AES decryption with BouncyCastle
I am encountering a javax.crypto.AEADBadTagException
: mac check in GCM failed error when attempting to decrypt data using AES in GCM mode with BouncyCastle. The error occurs during the AES decryption step, after I’ve decrypted an AES key using RSAES-OAEP and attempted to use it for decryption.