Glossary

AES-256-GCM

AES-256-GCM is a widely used symmetric encryption method that protects data with a 256-bit key and also detects whether it has been tampered with.

What is AES-256-GCM?

AES (Advanced Encryption Standard) is a symmetric cipher, which means the same key is used to encrypt and decrypt. The 256 refers to the key length in bits, the longest of the three AES variants. GCM (Galois/Counter Mode) is the mode of operation that defines how AES handles data longer than a single block.

How it works and what matters

Besides encrypting, GCM calculates a short check value called an authentication tag. If the encrypted data is altered along the way, the check fails and the data is rejected instead of being decrypted. In practice, two things are crucial: a nonce must never be reused with the same key, and the key itself has to stay secret.

What the parts of the name mean

AES (Advanced Encryption Standard) is a symmetric cipher: the same key encrypts and decrypts. It was standardised by the US institute NIST in 2001. The number 256 is the key length in bits; AES-128 and AES-192 also exist. GCM (Galois/Counter Mode) is the mode of operation: it encrypts the data and additionally computes a tag that reveals any later modification. GCM needs a fresh starting value (nonce) for every message – if one is used twice with the same key, the protection is lost.

At Friendstime

In the Friendstime file vault, files are encrypted with AES-256-GCM right in your browser. The key sits in the part of the link after the # sign, which is not sent to the server. Treat a vault link like a key and share it only with people who should see the file.

Frequently asked questions

Is AES-256 at risk from quantum computers?

Far less than RSA or elliptic-curve methods, according to current knowledge. A 256-bit key is generally considered long enough even with quantum computers in mind.

What happens if someone modifies the encrypted data?

The authentication tag no longer matches, and a correct implementation refuses to decrypt the data.

What is the difference between AES-128 and AES-256?

The difference is the key length: 128 or 256 bits. Both are considered secure today; AES-256 offers more margin, also with a view to future quantum computers.

Related terms

Related topics

Try Friendstime

Signing up takes a minute and is free.

All terms in the glossary →