Explore our new Cybersecurity Terms Glossary, explained by our experts.

View the Glossary View the Glossary
PRIVIA

Cybersecurity Terms Glossary

What Is Symmetric Encryption?

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.

Illustration for the cybersecurity term Symmetric Encryption
Home / Blog / Cybersecurity Terms / What Is Symmetric Encryption?
17 November 2026

What Is Symmetric Encryption?

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.

Block and Stream Ciphers

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.

CipherKey sizeStatus
DES56 bitsBroken; the EFF Deep Crack machine recovered a key in 56 hours in 1998
3DES112 bits effectiveDisallowed by NIST after 2023; Sweet32 (CVE-2016-2183) exploited its 64-bit block
AES-128 / AES-256128 or 256 bitsThe default choice, standardised as FIPS 197 in 2001
ChaCha20256 bitsFast without hardware support; specified with Poly1305 in RFC 8439

The Mode Matters as Much as the Cipher

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.

The Key Distribution Problem

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.

Where It Goes Wrong in Real Systems

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.

FAQ – Frequently Asked Questions

Is AES-256 Twice as Strong as AES-128?

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.

When Should I Use ChaCha20 Instead of AES?

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.

What Is Authenticated Encryption?

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.

Can the Same Key Be Used for Many Files?

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.

Related Terms

You May Be Interested In These

What Is Hypothesis-Driven Threat Hunting?

Cybersecurity Terms

17 November 2026

What Is Hypothesis-Driven Threat Hunting?

Read More
What Is Data Loss Prevention (DLP)?

Cybersecurity Terms

17 November 2026

What Is Data Loss Prevention (DLP)?

Read More
What Is RDP Security?

Cybersecurity Terms

17 November 2026

What Is RDP Security?

Read More