Protect bytes with authenticated AES-GCM using a key, nonce, and optional associated data.
The frame below runs the same code as this page, in the reader's own browser. Nothing is sent to us, and nothing is sent to you.
Pick a dark background and the text and panels follow it, so the frame stays readable on a dark page.
AES-GCM processes plaintext, authenticates additional data, and appends an authentication tag to ciphertext. Decryption needs the same key, nonce, tag, and associated data to verify integrity.
Input: Secret message for Bob Key: MySecretKey123!
2hubVho1RqIg33AizwYg+hO+QkQ5zxm9oBZZKS1/N6mOn+OAyCbbGoODxiEfbGJPRpN1mpj6MdkqiJHOYqAbRV1o
Database fields, Web Crypto storage, and authenticated protocol messages use GCM.