1. Home
  2. Explore
  3. Computer Science
  4. Store Now, Decrypt Later

Study methods

Flashcards
Quiz
Fill in the blanks
Written test
Lesson
Notes
Podcast
Content

Store Now, Decrypt Later

  • 22Unfamiliar
  • 0Learning
  • 0Familiar
  • 0Mastered
Topic: Encryption Basics & SNDL

What is the 'Store Now, Decrypt Later' (SNDL) attack, and why is it a threat today?

22 questions

  1. 1

    What is the 'Store Now, Decrypt Later' (SNDL) attack, and why is it a threat today?

    Model answer

    SNDL is the practice of intercepting and storing encrypted data today with the expectation that future quantum computers will be able to decrypt it. It is a threat because some information, such as industrial research or government intelligence, remains valuable for decades.

    Explanation

    The SNDL attack exploits the time lag between data creation and quantum capability, meaning that data encrypted now could be decrypted later when quantum computers become powerful enough.

  2. 2

    How does a symmetric key algorithm work, and what is its main requirement?

    Model answer

    In a symmetric key algorithm, the same secret key is used to both encrypt and decrypt messages. The main requirement is that the sender and receiver must share the key securely in advance, typically through an in-person meeting.

    Explanation

    Symmetric encryption relies on a single shared key; if intercepted during transmission, the security is compromised.

  3. 3

    Explain the RSA asymmetric key system. How are the public and private keys generated?

    Model answer

    RSA uses two large secret prime numbers (p and q) that are multiplied to form a public number N. The private key consists of p and q; the public key is N. Encryption uses N to garble the message, and decryption is only possible with knowledge of p and q to reverse the process.

    Explanation

    The security of RSA relies on the infeasibility of factoring the large number N into its prime factors using classical computers.

  4. 4

    Why is factoring a large number (product of two primes) currently considered hard for classical computers?

    Model answer

    The best classical factoring algorithm, the General Number Field Sieve, would take about 16 million years to factor a number with 313-digit primes, making it computationally infeasible.

    Explanation

    The exponential time complexity of classical factoring algorithms ensures security of RSA-like encryption against classical attacks.

  5. 5

    What did the U.S. National Security Administration (NSA) say about the potential impact of a sufficiently large quantum computer?

    Model answer

    The NSA stated that a sufficiently large quantum computer, if built, would be capable of undermining all widely deployed public key algorithms.

    Explanation

    This statement highlights the existential threat quantum computing poses to current cryptographic standards.

  6. 6

    What legislation did the U.S. Congress pass in response to the quantum computing threat?

    Model answer

    Congress passed legislation mandating that all government agencies begin transitioning immediately to new cryptographic methods that cannot be broken by quantum computers.

    Explanation

    The law aims to preempt the SNDL threat by adopting post-quantum cryptography before quantum computers become powerful enough to break current encryption.

  7. 7

    How does a qubit differ from a classical bit in terms of state representation?

    Model answer

    A classical bit can be either 0 or 1 at a time, while a qubit can exist in a superposition of 0 and 1 simultaneously, allowing it to represent an arbitrary combination of both states.

    Explanation

    Superposition enables qubits to explore multiple computational paths at once, forming the basis of quantum parallelism.

  8. 8

    With 300 qubits, how many states can be represented simultaneously, and why is that significant?

    Model answer

    With 300 qubits, you can represent more states than there are particles in the observable universe (2^300 states). This allows for massive parallelism in computation.

    Explanation

    The exponential growth in state space with qubits gives quantum computers their potential power for certain problems.

  9. 9

    What is the major challenge when reading out the result of a quantum computation?

    Model answer

    When you measure a quantum superposition, you only obtain a single random value from the superposition, and all other information is lost. This makes it hard to extract useful results without special techniques.

    Explanation

    The destructive measurement requires clever algorithms that convert the superposition into one that contains only the desired information before measurement.

  10. 10

    What is the quantum Fourier transform (QFT) and what information can it extract from a quantum state?

    Model answer

    The QFT is a quantum algorithm that, when applied to a periodic superposition of states, leaves a state containing the frequency (period) of that superposition, which can then be measured.

    Explanation

    The QFT is crucial for Shor's algorithm because it allows extraction of the period r from the periodic superposition generated during modular exponentiation.

  11. 11

    According to the video, how have the estimated number of physical qubits needed to break RSA encryption changed over time?

    Model answer

    In 2012, the estimate was 1 billion qubits; by 2017 it dropped to 230 million; and by 2019 it further plummeted to 20 million physical qubits.

    Explanation

    Technological breakthroughs in error correction and qubit design have dramatically reduced the required qubit count, bringing the quantum threat closer.

  12. 12

    What is the first step in Shor's algorithm for factoring a number N (product of two primes)?

    Model answer

    The first step is to pick a guess g that does not share any factors with N (i.e., gcd(g, N) = 1).

    Explanation

    A bad guess g is chosen randomly; the algorithm then finds an exponent r such that g^r ≡ 1 mod N, which will help find the factors.

  13. 13

    In Shor's algorithm, what property of the remainders when raising g to powers modulo N is exploited?

    Model answer

    The remainders are periodic: they cycle with a period r, and g^r ≡ 1 mod N. The period r can be found by measuring the spacing of any repeated remainder, not necessarily 1.

    Explanation

    The periodicity of modular exponentiation is the key structure that a quantum computer can exploit using the QFT.

  14. 14

    Once the period r is found in Shor's algorithm, how is it used to compute potential factors?

    Model answer

    If r is even, we compute g^(r/2) - 1 and g^(r/2) + 1. These numbers are likely to share factors with N. Then Euclid's algorithm finds the greatest common divisor with N, yielding p and q.

    Explanation

    The algebra g^r ≡ 1 mod N implies N divides (g^(r/2)-1)(g^(r/2)+1). If neither term is a multiple of N, each term shares a nontrivial factor with N.

  15. 15

    Describe the quantum part of Shor's algorithm: how are qubits prepared and manipulated to find the period r?

    Model answer

    Two sets of qubits are used. The first set is placed in a superposition of all numbers from 0 to about 10^1234. The operation g^(first set) mod N is performed, storing the remainder in the second set. The second set is measured, collapsing the first set into a periodic superposition with period r. The QFT is then applied to extract r.

    Explanation

    The superposition allows computing g^x mod N for all x simultaneously. After measuring the remainder, the first set becomes a superposition of states spaced by r, whose frequency is found via QFT.

  16. 16

    In the example with N=77 and g=8, what is r, and how does it lead to the factors?

    Model answer

    r=10 because 8^10 ≡ 1 mod 77. Since r is even, we compute 8^5 -1 = 32767 and 8^5 +1 = 32769. Euclid's algorithm gives gcd(32769, 77)=11 and gcd(32767, 77)=7, the prime factors of 77.

    Explanation

    This example illustrates the classical steps of Shor's algorithm; the quantum part would find r=10 efficiently for large numbers.

  17. 17

    What is Euclid's algorithm and how is it used in the factoring process?

    Model answer

    Euclid's algorithm finds the greatest common divisor (GCD) of two numbers by repeated division. In factoring, it is used to compute the GCD of (g^(r/2) ± 1) and N to extract the prime factors.

    Explanation

    The algorithm works because any common divisor of two numbers also divides their remainder from division, iterating until a zero remainder yields the GCD.

  18. 18

    What was the outcome of NIST's post-quantum cryptography competition that concluded on July 5, 2022?

    Model answer

    NIST selected four algorithms to be part of the post-quantum cryptographic standard. They were chosen from 82 submissions after rigorous testing, with some being broken.

    Explanation

    The competition aimed to find algorithms resistant to both classical and quantum attacks, ensuring future security.

  19. 19

    How many of the four selected algorithms are based on lattice mathematics, and what is the general idea behind such schemes?

    Model answer

    Three of the four algorithms are based on lattice mathematics. The idea is to use a lattice in high dimensions where finding the closest lattice point to a given point is extremely hard without a good basis (the private key).

    Explanation

    Lattice-based cryptography relies on the hardness of problems like the Closest Vector Problem (CVP) in high dimensions, which is believed to be resistant to quantum attacks.

  20. 20

    In a 2D lattice, why is one set of basis vectors (e.g., r1, r2) easier to work with than another set (e.g., b1, b2)?

    Model answer

    The set r1, r2 is easier because each step in one direction does not significantly affect the other coordinate, making it straightforward to reach a nearby lattice point. In contrast, with the b basis, a step in one direction often moves you away in the other direction, requiring many steps and complex calculations.

    Explanation

    A 'good' basis consists of short, nearly orthogonal vectors, while a 'bad' basis has long, skewed vectors that make the CVP hard.

  21. 21

    Why does solving the closest vector problem become extremely hard in 1000 dimensions?

    Model answer

    In 1000 dimensions, the number of lattice points near a target grows exponentially (volume of sphere ~ r^1000), so finding the closest point among many candidates is computationally infeasible for both classical and quantum computers.

    Explanation

    High-dimensional spaces suffer from the curse of dimensionality, making lattice problems like CVP and SVP (Shortest Vector Problem) very hard, thus forming the basis for secure cryptography.

  22. 22

    How is a lattice used to encrypt a message in post-quantum cryptography?

    Model answer

    The sender picks a lattice point corresponding to the message (e.g., number 7), adds random noise to it, and sends the noisy point. The recipient, who knows a good basis for the lattice, can find the original lattice point by solving the closest vector problem easily, while an attacker cannot.

    Explanation

    Adding noise hides the exact lattice point; only someone with the good basis can efficiently find the original point, ensuring decryption is easy for the intended recipient but hard for others.

1 of 22
Question 1 of 22

Ask anything

We've read this whole study set, so questions about it get the best answers.

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent