Applied Cryptography

Searching for the key of an n-bit symmetric-key cipher with Grover's algorithm on a quantum computer is said to take about 2^(n/2) computations. Using this simple guideline, which of the following is closest to the security of AES-128 against quantum computers?

  1. AAbout 64-bit security
  2. BAbout 127-bit security
  3. CAbout 128-bit security
Show answer and explanation

Answer: A. About 64-bit security

Grover's algorithm reduces the number of brute-force tries from 2ⁿ to about 2^(n/2), its square root. For AES-128 this is 2^(128/2) = 2⁶⁴ tries, so the security is about 64 bits. Unlike Shor's algorithm, which breaks public-key cryptography in polynomial time, this can be countered by using longer keys, and AES-256 retains about 128-bit security. However, Grover's algorithm benefits little from parallelization and must also run a long computation without errors, so this is only a simple guideline, and in NIST's evaluation of post-quantum cryptography, being as hard as a key search on AES-128 is the yardstick for the lowest security category.

  • A. Correct. 2^(128/2) = 2⁶⁴, about 64-bit security.
  • B. About 127 bits corresponds to classical brute force finding the key on average after half the tries, 2¹²⁷.
  • C. This is the value assuming no effect at all from quantum computers. Grover's algorithm roughly halves the number of security bits.
Practice this topic Back to topic

Books on Applied Cryptography Ad

As an Amazon Associate I earn from qualifying purchases.

More Applied Cryptography questions

  1. Which of the following correctly pairs the post-quantum cryptography standards published by the US NIST in August 2024 with their types?
  2. Which of the following correctly describes how a key encapsulation mechanism (KEM) such as ML-KEM is used?
  3. Which of the following correctly describes the idea of hybrid key exchange, used during the migration to post-quantum cryptography, that combines X25519 (Diffie–Hellman key exchange using an elliptic curve) with ML-KEM?
  4. One way to think about when to migrate cryptography is "if the number of years x for which data must be kept secret plus the number of years y the migration to new cryptography takes exceeds the number of years z until a quantum computer able to break the cryptography appears, there is already a danger" (Mosca's inequality). With x = 10 years, y = 5 years and z assumed to be 12 years, which of the following is the correct judgment?
  5. Which of the following correctly describes the role of an HSM (hardware security module)?

Comparisons in this topic