Explore our new Cybersecurity Terms Glossary, explained by our experts.
Cybersecurity Terms Glossary
Symmetric encryption uses one shared key to both encrypt and decrypt. It protects almost all data at rest and in transit, because it is orders of magnitude faster than public-key cryptography.

What Is Symmetric Encryption?
Symmetric encryption uses the same key to lock and unlock data. Both parties hold that key, and anyone who obtains it can read everything protected by it. The scheme is as old as secret writing itself, and it still does almost all of the actual work: your disk, your database backups, your TLS sessions, and your VPN tunnel are all protected by symmetric ciphers.
The reason is speed. A modern CPU with AES instructions encrypts several gigabytes per second per core. An RSA operation on the same hardware handles a few thousand short messages per second. Public-key cryptography exists to solve a problem symmetric encryption cannot, not to replace it.
A block cipher transforms fixed-size blocks—16 bytes for AES—under the key, and a mode of operation defines how successive blocks are chained together. A stream cipher generates a pseudorandom keystream that is combined with the plaintext byte by byte. In practice the distinction has blurred, because counter-based modes turn a block cipher into a stream cipher.
| Cipher | Key size | Status |
|---|---|---|
| DES | 56 bits | Broken; the EFF Deep Crack machine recovered a key in 56 hours in 1998 |
| 3DES | 112 bits effective | Disallowed by NIST after 2023; Sweet32 (CVE-2016-2183) exploited its 64-bit block |
| AES-128 / AES-256 | 128 or 256 bits | The default choice, standardised as FIPS 197 in 2001 |
| ChaCha20 | 256 bits | Fast without hardware support; specified with Poly1305 in RFC 8439 |
AES itself has never been broken, but AES used badly has been broken many times. Electronic Codebook mode encrypts each block independently, so identical plaintext blocks produce identical ciphertext and the structure of an image remains visible through the encryption. Cipher Block Chaining fixes that but is malleable and has produced a long run of padding oracle vulnerabilities.
Current practice is authenticated encryption with associated data, which protects integrity as well as confidentiality in one pass. AES-GCM and ChaCha20-Poly1305 are the two to reach for, and TLS 1.3 permits nothing else. One rule governs both: a nonce must never repeat under the same key. Reusing a GCM nonce does not merely leak plaintext relationships—it exposes the authentication key, letting an attacker forge messages. Where a system cannot guarantee unique nonces, AES-GCM-SIV degrades gracefully instead of failing catastrophically.
Symmetric encryption assumes both parties already share a secret, which is precisely the hard part. Three answers are in use:
Whichever route you take, key management becomes the real security boundary: who can retrieve the key, how often it rotates, and what happens when someone leaves.
Quantum computing changes less here than many expect. Grover’s algorithm offers a square-root speed-up against a symmetric key search, so AES-128 drops towards 64-bit effective strength in theory while AES-256 remains comfortable. The NCSC and NIST both treat AES-256 as suitable for the post-quantum era, so migration effort belongs with the public-key algorithms, not here.
At Privia Security, we assess key handling and cipher configuration as part of our Cloud Security Services, where misplaced keys undo otherwise sound encryption.
It has twice the key length, not twice the strength in any meaningful sense. Both are far beyond brute force with classical computers, and AES-128 would take longer than the age of the universe to exhaust. AES-256 is chosen for policy compliance, long retention periods, and a margin against quantum search, at a cost of roughly 40 per cent more rounds.
On hardware without AES instructions, such as older mobile devices, embedded systems, and some IoT processors, where ChaCha20-Poly1305 is markedly faster and naturally resistant to cache timing attacks. On modern server CPUs with AES-NI, AES-GCM is usually quicker. Most TLS stacks negotiate the better option automatically based on what the client advertises.
It is encryption that also proves the ciphertext has not been altered, producing an authentication tag alongside the output. Without it, an attacker can flip bits in transit and the recipient decrypts corrupted data without noticing, which is the basis of padding oracle and bit-flipping attacks. AES-GCM and ChaCha20-Poly1305 both provide it and should be the default choice.
Technically yes, within limits, but it concentrates risk and complicates rotation. The usual pattern is envelope encryption: generate a unique data key per file or record, encrypt the data with it, and protect that key under a master key in a key management service. Rotating the master key then re-wraps the data keys without re-encrypting the data itself.
You May Be Interested In These
We use a few cookies that are needed to make this website work, and they are always on. We would also like to set analytics cookies, to see which pages are useful; functional cookies, so that our live chat works; and advertising cookies, to measure our campaigns. We will not set any of those until you say yes, and you can change your mind at any time from the Cookie Settings link in the footer.
Choose the cookies you are happy for us to use. Strictly necessary cookies are always on; everything else is off until you turn it on.
These cookies keep the website working: they hold your security checks, your form submissions and the choice you make here. The site cannot run without them, so they are always on.
These let our live chat open and remember your conversation, and let the newsletter sign-up work. Switch them off and the chat window will not appear.
These tell us which pages are read and how people find us, so that we can improve the site. The reports are about groups of visitors, never about you personally.
These let us measure our advertising and show you our adverts on other websites, such as LinkedIn, Google and Meta. Switch them off and you will still see adverts, but they will be less relevant.