AES-GCM Encrypt
Encrypt with explicit key, IV, AAD, tag length, ciphertext, and auth tag bytes
Interoperability settings
AAD is authenticated but not encrypted. Decryption needs the exact same AAD bytes, encoding, and tag length.
AES-GCM authenticates the ciphertext and any optional AAD. Decryption needs the exact key, IV, ciphertext, tag, AAD, and tag length. The page keeps each byte-oriented setting visible so you can reproduce another implementation without guessing its payload format.
- Choose the encodings and payload layout used by the other implementation.
- Enter UTF-8 plaintext, then encrypt to get separate and combined outputs.
- Open Interoperability settings only when you need a non-default tag length or AAD.
- Store the IV and tag with the ciphertext; store the key separately.
A tag failure does not reveal which input is wrong. Check the byte encoding, IV, ciphertext/tag split, AAD, and tag length before assuming the key is wrong. In a combined payload, this tool treats the final selected tag-length bytes as the tag. A successful decrypt authenticates the complete set of inputs.