What is AES-256-GCM?

AES-256-GCM is the AES cipher with a 256-bit key used in Galois/Counter Mode, an authenticated encryption mode that both keeps data confidential and detects any tampering.

The parts of the name

  • AES (Advanced Encryption Standard) is the block cipher standardised by NIST in 2001 and used almost everywhere, from HTTPS to disk encryption.
  • 256 is the key length in bits. AES also comes in 128- and 192-bit versions; 256-bit gives the largest safety margin.
  • GCM (Galois/Counter Mode) is the mode of operation: how the cipher is applied to data longer than one block.

Why "authenticated" matters

GCM is an authenticated encryption mode. Along with the ciphertext it produces an authentication tag. When the data is decrypted, the tag is checked, and if even one bit of the ciphertext was changed, decryption fails instead of returning corrupted data. Older modes without authentication can be tampered with in ways the recipient never notices.

The one rule: never reuse a nonce

Each encryption with GCM uses a nonce, a number that must never be used twice with the same key. Reusing one can break both confidentiality and the tamper protection. Systems that generate a fresh random key for every message or file, as one-time sharing tools usually do, make this mistake much harder to make.

Where you find it

AES-GCM is part of TLS 1.3, is available in every modern browser through the Web Crypto API, and is standardised in NIST SP 800-38D. It is a conservative, well-studied choice.

Konfidant encrypts every share with AES-256-GCM and a fresh 256-bit key. Compare it with the weak legacy encryption in ZipCrypto.

Konfidant shares passwords, keys and files through one-time links, encrypted on your device and deleted after the first view.

Try it free