Skip to content
MindMax
Topic

Which encryption algorithms are symmetric and which are asymmetric

Symmetric algorithms use one shared secret key to both encrypt and decrypt. The ones to know are AES, 3DES, DES, ChaCha20 and RC4. Asymmetric algorithms use a linked public and private key pair. RSA and ECC are the big two, and Diffie-Hellman is an asymmetric key-exchange method. Hashes such as SHA-256 and MD5 are neither, because they are one-way and aren't decrypted.

From the lesson Symmetric encryption

Why it matters on the exam

The SY0-801 (V8) objectives list symmetric encryption, asymmetric encryption, key exchange and algorithms under objective 1.3, and this page follows those V8 objectives. The exam expects you to recognize algorithm names on sight, so a stem that says AES, RSA or Diffie-Hellman tells you which family you are dealing with. Mixing up a hash with a cipher, or a key exchange with bulk encryption, is an easy way to lose points.

Key points

  • One key or two. Symmetric means the same shared secret key locks and unlocks the data. Asymmetric means a public key and a private key that are mathematically paired.
  • Names to memorize. AES, 3DES, DES, ChaCha20 and RC4 are symmetric. RSA, ECC and Diffie-Hellman are asymmetric.
  • Symmetric is fast. Symmetric ciphers handle bulk data far faster than asymmetric ones, which is why protocols like TLS use AES for the actual payload.
  • The key-sharing problem. Both sides of a symmetric exchange must already hold the same key, so getting that key to them safely is the classic weakness. Asymmetric cryptography helps solve it.
  • Hashes are their own family. SHA-256 and MD5 are one-way hash functions used for integrity, not encryption, so they never belong in either encryption group.
Symmetric and asymmetric encryption side by side
FeatureSymmetricAsymmetric
KeysOne shared secret keyPublic and private key pair
Common algorithmsAES, 3DES, DES, ChaCha20, RC4RSA, ECC, Diffie-Hellman
SpeedFast, suits bulk dataSlower, more processing overhead
Typical jobEncrypting the payloadKey exchange and digital signatures
Main weaknessDistributing the shared key safelyToo slow for large volumes of data
Try it

Sort these algorithms into their families

Loading…

Drag each card into its box, or tap a card and then a box.

Common trap

Candidates often file Diffie-Hellman under symmetric because it ends with both sides holding the same shared secret. Diffie-Hellman itself is an asymmetric key-exchange method. The shared key it produces is then used by a symmetric cipher such as AES.

Question 1 of 5

A security team is reviewing the cryptographic algorithms in use across the company. Which of these algorithms relies on a mathematically linked public and private key pair?

Em

Tap an answer and I’ll tell you why.

Question 1 is written for this page and checked by a person. The others are practice questions from the MindMax app. None are from a past exam.

Where it comes from

Lesson 1 in Cryptography Fundamentals · 1.0 General Security Concepts

Symmetric encryption

  1. Explain how symmetric encryption uses a single shared key
  2. Identify common symmetric algorithms such as AES and 3DES
  3. Distinguish block ciphers from stream ciphers
  4. State the key-distribution problem of symmetric encryption
  5. Explain why symmetric encryption suits bulk data
Take this lesson on MindMax

Key terms in this lesson

AES
A common symmetric algorithm that uses a single shared key to both encrypt and decrypt data. Like other symmetric ciphers, it is fast and suits bulk data.

Learn more

FAQ

AES is symmetric. It uses the same secret key to encrypt and decrypt, with key lengths of 128, 192 or 256 bits. It is the standard modern replacement for older ciphers like DES and 3DES.

Diffie-Hellman is an asymmetric key-exchange method. It lets two parties derive a shared secret over an untrusted network rather than encrypting bulk data directly. That shared secret then feeds a fast symmetric cipher.

Each one covers the other's weakness. Asymmetric encryption authenticates the endpoints and exchanges a temporary session key, which solves the key-sharing problem. Symmetric encryption, such as AES, then encrypts the high-volume data because it is much faster.

Pass your CompTIA Security+ SY0-801 examGet the app