What is symmetric encryption?

Symmetric encryption, also known as private-key cryptography, uses a single shared key for both encryption and decryption. The same key that locks the data is also used to unlock it. Both parties must have a copy of that same key before they can communicate securely.

Symmetric cryptography is commonly used for encrypting and decrypting data. Both processes are fast, making it suitable for protecting large amounts of data efficiently. Common symmetric encryption schemes include block ciphers and stream ciphers.

Symmetric encryption is also referred to as private-key cryptography, and the terms are used interchangeably across the industry.

How symmetric cryptography works

Step 1: Key generation and exchange

A single secret key is generated, and both parties must obtain a copy of it before they can communicate. Depending on the system, this can be done using pre-shared keys or through a secure key exchange using public-key cryptography.

Step 2: Encryption

The sender uses the shared key to turn the original data into unreadable, encrypted text, called ciphertext.

Step 3: Decryption

The recipient applies the same key to decrypt the ciphertext and recover the original data.

Use cases for symmetric encryption

Symmetric encryption is fast and well-suited for large data volumes. It can also be used for data or user authentication, for example with Message Authentication Codes (MACs).

Where this shows up in everyday systems:

  • Hard drives and cloud storage: large volumes of stored data have to be encrypted and decrypted quickly.
  • Wi-Fi and wireless networks: traffic between a device and a wireless router stays unreadable to anyone nearby.
  • Streaming and video content: video and audio are protected in real time without slowing down playback.
  • Backup software: archives and backup copies involve large volumes that need to be restored quickly.

Limitations of symmetric encryption

Symmetric cryptography requires that all communicating parties share the same secret keys, which can be challenging to manage, especially when it comes to internet applications. For this reason, public-key cryptography is often used to securely exchange symmetric keys or provide data and user authentication.

Digital cubes connect through flowing data lines in a blue network, illustrating asymmetric encryption.
Asymmetric Encryption

Asymmetric encryption secures nearly every digital interaction with a public and a private key – and is the first casualty of Shor’s algorithm. We show which RSA and ECC systems are at risk and how quantum-safe key exchange replaces them.

The algorithms behind symmetric encryption

Two algorithm generations define symmetric encryption today: one still in active, universal use, and one that shaped the field but has since been retired for most applications.

AES (Advanced Encryption Standard)

AES is the current standard of symmetric encryption, adopted by governments and organizations worldwide. It comes in three strengths, AES-128, AES-192, and AES-256, named after the length of the key in bits. Each additional bit doubles the number of possible keys, so AES-256 isn't just a little stronger than AES-128, it's astronomically harder to guess.

AES does not offer enough mathematical structure for special quantum-computing attacks. Only generic attacks such as Grover's algorithm apply. These generic attacks only offer small benefits to an attacker, and having large enough key sizes renders symmetric algorithms robust. Since running Grover’s algorithm on a large-scale quantum computer is expected to be extremely challenging, even AES-128 is likely to remain secure for the foreseeable future.

AES is efficient enough to run on everything from smartphones to secure hardware chips.

DES & Triple DES

DES was the original standard encryption algorithm, introduced in the 1970s, but its short 56-bit key made it vulnerable to brute-force attacks as computing power grew. Triple DES extended its lifespan by applying the algorithm three times, therefore reaching a higher security level. Both algorithms have since been superseded by AES for most modern applications.

How quantum computers can weaken symmetric encryption

Quantum computers can weaken symmetric encryption by using Grover's algorithm, a quantum algorithm that can run on a sufficiently powerful quantum computer. Grover's algorithm can quadratically speed up the search for a specific key from a set of possible keys, potentially reducing the security of symmetric key systems.

In theory, this means the effective security of a symmetric key is halved: AES-256 would still provide about 128 bits of effective security against a quantum computer, which is considered secure against practical attacks. Experts continue to debate whether Grover's algorithm will be feasible in practice with the first large-scale quantum computers, so AES-128 is also likely to remain secure for the foreseeable future.

Frequently asked questions

What is the Grover algorithm and how does it affect symmetric cryptography?
Is symmetric cryptography affected by the Shor algorithm?

Part of a broader quantum-safe strategy

The security of symmetric cryptography is impacted by quantum computers, but this risk is manageable—simply increasing key lengths is generally sufficient. However, symmetric encryption alone is not enough. Establishing trust and enabling secure interactions in complex digital ecosystems in general requires asymmetric cryptography, making PQC migration essential.

Glowing digital shield with a check mark protects data blocks in a blue cybersecurity network.
Post-Quantum Cryptography

Post-quantum cryptography protects data against attacks from quantum computers that will break today’s RSA and ECC encryption. We help organizations move to quantum-safe cryptography early - with standardized algorithms built into connectivity, payment and identity infrastructures.

Get in touch

If you have any questions about our end-to-end business solutions or about our SecurityTech company, seek expert advice, or want to give us your feedback, our team is here to support you, anytime.