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

  • 16Unfamiliar
  • 0Learning
  • 0Familiar
  • 0Mastered
Topic: Store Now, Decrypt Later

What is the primary motivation behind the 'Store Now, Decrypt Later' (SNDL) strategy?

16 questions

  1. 1

    What is the primary motivation behind the 'Store Now, Decrypt Later' (SNDL) strategy?

    1. A

      Attackers store encrypted data to sell it later when decryption becomes cheaper.

    2. B

      Organizations back up encrypted data to prevent loss from quantum attacks.

    3. C

      Governments require companies to store encrypted data for legal access later.

    4. D

      Attackers collect encrypted data now, hoping to decrypt it with future quantum computers.

    Correct answer
    D

    Attackers collect encrypted data now, hoping to decrypt it with future quantum computers.

    Explanation

    SNDL refers to intercepting and storing encrypted data today with the expectation that quantum computers will be able to break the encryption within 10-20 years, making the data readable later.

  2. 2

    How does a symmetric key algorithm differ from an asymmetric key algorithm?

    1. A

      Symmetric uses public keys; asymmetric uses private keys.

    2. B

      Symmetric uses the same key for encryption and decryption; asymmetric uses different keys.

    3. C

      Symmetric requires a trusted third party; asymmetric does not.

    4. D

      Symmetric is only used for digital signatures; asymmetric is for encryption.

    Correct answer
    B

    Symmetric uses the same key for encryption and decryption; asymmetric uses different keys.

    Explanation

    In symmetric key cryptography, the same key is used to encrypt and decrypt. In asymmetric (public-key) cryptography, different keys are used: a public key for encryption and a private key for decryption.

  3. 3

    In RSA encryption, what is the relationship between the public key and the private key?

    1. A

      The public key is the product of two large primes; the private key consists of those primes.

    2. B

      Both keys are derived from the same large prime number.

    3. C

      The public key is the sum of two primes; the private key is their product.

    4. D

      The public key is one of the primes; the private key is the other prime.

    Correct answer
    A

    The public key is the product of two large primes; the private key consists of those primes.

    Explanation

    RSA uses two large prime numbers kept secret as the private key, and their product (which is made public) as the public key. Security relies on the difficulty of factoring this product.

  4. 4

    How long would it take a classical supercomputer using the General Number Field Sieve to factor a product of two 313-digit primes?

    1. A

      Approximately 16 million years

    2. B

      Approximately 16 million seconds

    3. C

      Approximately 16 years

    4. D

      Approximately 16 thousand years

    Correct answer
    A

    Approximately 16 million years

    Explanation

    Modern cryptography uses primes around 313 digits long, and the best classical factoring algorithm would take roughly 16 million years to factor their product.

  5. 5

    What key property distinguishes a qubit from a classical bit?

    1. A

      A qubit can store multiple bits of information at once.

    2. B

      A qubit uses more energy than a classical bit.

    3. C

      A qubit can exist in a superposition of 0 and 1 states simultaneously.

    4. D

      A qubit can only be in the 0 or 1 state, but can be read faster.

    Correct answer
    C

    A qubit can exist in a superposition of 0 and 1 states simultaneously.

    Explanation

    A qubit can be in a superposition of |0⟩ and |1⟩, meaning it can represent both states at once, unlike a classical bit which is strictly 0 or 1.

  6. 6

    What happens when you measure a quantum superposition?

    1. A

      You can read out the superposition without disturbing it.

    2. B

      You obtain all values in the superposition simultaneously.

    3. C

      You obtain only one random value from the superposition, losing all other information.

    4. D

      The superposition collapses to a single deterministic value based on the problem.

    Correct answer
    C

    You obtain only one random value from the superposition, losing all other information.

    Explanation

    Measurement of a quantum superposition yields a single outcome randomly, and the rest of the superposition information is lost, which is a key challenge in quantum computing.

  7. 7

    What is the purpose of the quantum Fourier transform in Shor's algorithm?

    1. A

      It converts a superposition into a classical bit string.

    2. B

      It extracts the frequency (period) from a periodic superposition of states.

    3. C

      It directly factors the number N into primes.

    4. D

      It performs the modular exponentiation step efficiently.

    Correct answer
    B

    It extracts the frequency (period) from a periodic superposition of states.

    Explanation

    The quantum Fourier transform is used to extract the period r from a periodic superposition, which is essential for finding the exponent that yields a multiple of N plus one.

  8. 8

    In Shor's algorithm, why does the exponent r allow us to find factors of N?

    1. A

      r directly gives one of the prime factors by taking its square root.

    2. B

      r is the product of the two prime factors of N.

    3. C

      The exponent r is itself a factor of N.

    4. D

      If r is even, we can rewrite g^r ≡ 1 (mod N) as (g^(r/2) - 1)(g^(r/2) + 1) ≡ 0 (mod N), and these terms likely share factors with N.

    Correct answer
    D

    If r is even, we can rewrite g^r ≡ 1 (mod N) as (g^(r/2) - 1)(g^(r/2) + 1) ≡ 0 (mod N), and these terms likely share factors with N.

    Explanation

    When r is even, we can factor g^r - 1 into (g^(r/2)-1)(g^(r/2)+1), and these two numbers are likely to share nontrivial factors with N, which can be extracted using Euclid's algorithm.

  9. 9

    What property of the remainders in modular exponentiation is exploited by Shor's algorithm?

    1. A

      The remainders decrease monotonically to zero.

    2. B

      The remainders repeat with a period r, which is the exponent that makes g^r ≡ 1 (mod N).

    3. C

      The remainders are always prime numbers.

    4. D

      The remainders are randomly distributed with no pattern.

    Correct answer
    B

    The remainders repeat with a period r, which is the exponent that makes g^r ≡ 1 (mod N).

    Explanation

    When raising g to increasing powers mod N, the remainders eventually repeat in a cycle. The period r is the smallest positive exponent such that g^r ≡ 1 mod N, and this period is the key to factoring.

  10. 10

    How do we obtain the period r from the quantum part of Shor's algorithm?

    1. A

      We use classical post-processing on the measured remainders to find the period.

    2. B

      We directly measure the period from the superposition of remainders.

    3. C

      We measure the remainder, leaving a periodic superposition; then apply QFT and measure to get 1/r, from which we compute r.

    4. D

      We run the algorithm multiple times and take the average of the measurements to find r.

    Correct answer
    C

    We measure the remainder, leaving a periodic superposition; then apply QFT and measure to get 1/r, from which we compute r.

    Explanation

    After entangling the exponent qubits with remainder qubits and measuring the remainder, we get a periodic superposition of exponents. Applying the QFT and measuring yields a value proportional to 1/r, allowing us to find r.

  11. 11

    How has the estimated number of physical qubits needed to break RSA encryption changed over time?

    1. A

      It has dropped from 20 million to 230 million.

    2. B

      It has increased from millions to billions.

    3. C

      It has remained constant at around 1 billion.

    4. D

      It has dropped from billions to around 20 million.

    Correct answer
    D

    It has dropped from billions to around 20 million.

    Explanation

    Estimates fell from about 1 billion physical qubits in 2012 to 230 million in 2017, and then to around 20 million in 2019 due to technological breakthroughs.

  12. 12

    What was the result of NIST's 2016 competition for post-quantum cryptographic algorithms?

    1. A

      NIST decided to continue using existing RSA-based algorithms.

    2. B

      NIST selected 82 algorithms to be part of the standard.

    3. C

      In July 2022, NIST selected four algorithms for standardization.

    4. D

      All submitted algorithms were broken and deemed unsuitable.

    Correct answer
    C

    In July 2022, NIST selected four algorithms for standardization.

    Explanation

    NIST launched a competition in 2016, received 82 proposals, and after rigorous testing selected four algorithms on July 5, 2022, to become the post-quantum cryptographic standard.

  13. 13

    What mathematical problem underlies three of the four post-quantum algorithms selected by NIST?

    1. A

      The discrete logarithm problem in elliptic curves

    2. B

      The closest vector problem in high-dimensional lattices

    3. C

      The factoring of large semiprime numbers

    4. D

      The knapsack problem

    Correct answer
    B

    The closest vector problem in high-dimensional lattices

    Explanation

    Three of the four selected algorithms are based on lattice cryptography, which relies on the hardness of finding the closest lattice point to a given vector in high dimensions.

  14. 14

    Why are 'bad' basis vectors (e.g., b1 and b2) harder to work with than 'good' ones in lattice cryptography?

    1. A

      Each step in one direction can offset progress in other directions, making it difficult to find the closest lattice point.

    2. B

      Bad vectors are longer and require more computation steps.

    3. C

      Bad vectors are not linearly independent, so they cannot generate the lattice.

    4. D

      Bad vectors have fractional coordinates, making arithmetic harder.

    Correct answer
    A

    Each step in one direction can offset progress in other directions, making it difficult to find the closest lattice point.

    Explanation

    With a bad basis, taking a step in one vector's direction often moves away from the target in another dimension, making it hard to zero in on the closest point, whereas a good basis allows straightforward movement.

  15. 15

    How does lattice-based encryption work in practice?

    1. A

      The sender and receiver share a secret lattice and use it as a one-time pad.

    2. B

      The message is embedded in the basis vectors themselves.

    3. C

      The sender encodes a message as a lattice point, adds noise, and the recipient uses a secret good basis to find the closest point and recover the message.

    4. D

      The sender multiplies the message by a public matrix, and the recipient inverts it using a private key.

    Correct answer
    C

    The sender encodes a message as a lattice point, adds noise, and the recipient uses a secret good basis to find the closest point and recover the message.

    Explanation

    The message is mapped to a lattice point (e.g., representing a number). The sender adds small random noise, and only someone with the good basis can efficiently find the closest lattice point to decode the message.

  16. 16

    Why is the closest vector problem (CVP) considered hard for high-dimensional lattices?

    1. A

      High-dimensional lattices have no structure to exploit.

    2. B

      The number of lattice points near a target grows exponentially with dimension, making exhaustive search infeasible.

    3. C

      Both A and B are correct.

    4. D

      CVP is NP-hard in general, and known algorithms become impractical as dimension increases.

    Correct answer
    C

    Both A and B are correct.

    Explanation

    In high dimensions, the number of lattice points within a given radius grows extremely quickly, and CVP is known to be NP-hard, so classical and quantum computers cannot solve it efficiently for dimensions like 1,000.

Question 1 of 16
Question 1 of 16

Ask anything

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

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent