1. Home
  2. Explore
  3. Computer Science
  4. RSA Public-Key Cryptography

Study methods

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

RSA Public-Key Cryptography

  • 54Unfamiliar
  • 0Learning
  • 0Familiar
  • 0Mastered
Topic: Public-Key Concepts

What makes RSA a public-key cryptosystem?

54 questions

  1. 1

    What makes RSA a public-key cryptosystem?

    1. A

      The sender and receiver share a secret key before exchanging messages

    2. B

      The receiver publishes both the encryption key and the decryption key

    3. C

      The sender encrypts messages using a key that changes after every transmission

    4. D

      The receiver publishes information that anyone can use to encrypt a message, while retaining secret information needed to decrypt it

    Correct answer
    D

    The receiver publishes information that anyone can use to encrypt a message, while retaining secret information needed to decrypt it

    Explanation

    RSA allows a receiver to publish a public key for encryption while keeping a separate private key secret for decryption.

  2. 2

    What unusual communication advantage does a public-key cryptosystem provide?

    1. A

      A sender can make a message secret by hiding the public key from other people

    2. B

      A receiver can decrypt messages without having any secret information

    3. C

      A sender can send a secret message to a receiver without prior contact or a previously shared secret

    4. D

      A sender can prevent the receiver from identifying who sent a message

    Correct answer
    C

    A sender can send a secret message to a receiver without prior contact or a previously shared secret

    Explanation

    Anyone can use the receiver's public information to encrypt a message, so the sender does not need to arrange a shared secret in advance.

  3. 3

    In the RSA setup described, who is intended to be able to decrypt a message encrypted with the receiver's public key?

    1. A

      Any sender who knows the receiver's public key

    2. B

      Only a sender who has contacted the receiver beforehand

    3. C

      Anyone who can see the encrypted message

    4. D

      Only the receiver, who holds the corresponding private key

    Correct answer
    D

    Only the receiver, who holds the corresponding private key

    Explanation

    The public key is available to senders for encryption, but the receiver keeps the private key needed to decrypt.

  4. 4

    Why does public-key encryption seem paradoxical at first?

    1. A

      The receiver must publish the private key before the sender can encrypt

    2. B

      The sender and receiver use identical keys but are not allowed to communicate

    3. C

      A secret message can be sent even though the encryption information and transmitted ciphertext are publicly visible

    4. D

      A message can be encrypted only if its contents are already known to the receiver

    Correct answer
    C

    A secret message can be sent even though the encryption information and transmitted ciphertext are publicly visible

    Explanation

    The apparent paradox is that secrecy can be achieved even when the public encryption information and the ciphertext can be seen by everyone.

  5. 5

    What is mental chess?

    1. A

      Using a chessboard to calculate several games simultaneously

    2. B

      Playing chess by describing moves aloud without using a board or pieces

    3. C

      Memorizing a chess position and reconstructing it using a computer

    4. D

      Playing chess while concealing each move from the opponent

    Correct answer
    B

    Playing chess by describing moves aloud without using a board or pieces

    Explanation

    In mental chess, players communicate moves in chess notation and play without a physical board or pieces.

  6. 6

    What ability of chess grandmasters is highlighted by the example of mental chess?

    1. A

      They can play multiple games from memory against opponents who use boards

    2. B

      They can play only when both players use the same physical pieces

    3. C

      They can guarantee a win against any other grandmaster without seeing the board

    4. D

      They can infer an opponent's hidden moves from the game's final position

    Correct answer
    A

    They can play multiple games from memory against opponents who use boards

    Explanation

    The example describes grandmasters playing multiple mental games against opponents who are looking at chessboards and winning most of those games.

  7. 7

    What is the central challenge posed by the idea of mental poker?

    1. A

      Players want to keep the rules of poker secret from the person dealing

    2. B

      Players want to deal and play poker without trusting one player with an unfair advantage from handling the cards

    3. C

      Players want to play poker without knowing which cards are in the deck

    4. D

      Players want to replace poker betting with a public encryption contest

    Correct answer
    B

    Players want to deal and play poker without trusting one player with an unfair advantage from handling the cards

    Explanation

    The proposed scenario asks whether people can play poker when one participant deals, while still preserving the fairness and secrecy needed for the game.

  8. 8

    What does the mental-poker example illustrate about public-key cryptography?

    1. A

      It can support surprising protocols in which participants manage secret information without relying on ordinary physical dealing

    2. B

      It makes games fair by preventing participants from making strategic choices

    3. C

      It works only for encrypting short written messages and cannot support interactive tasks

    4. D

      It requires all participants to reveal their private keys before a game begins

    Correct answer
    A

    It can support surprising protocols in which participants manage secret information without relying on ordinary physical dealing

    Explanation

    The content presents mental poker as an application of public-key cryptography, showing that the technology can enable more than ordinary message encryption.

  9. 9

    Why does knowing how to compute an injective function not automatically make its inverse easy to find?

    1. A

      The input is unique, but searching for it from the output may require prohibitive computation

    2. B

      The inverse is always a different function that cannot be represented mathematically

    3. C

      An injective function has multiple possible inputs, so the inverse cannot be defined

    4. D

      Computing a function requires secret information that is never available to an inverting algorithm

    Correct answer
    A

    The input is unique, but searching for it from the output may require prohibitive computation

    Explanation

    Injectivity guarantees that an output has a unique originating input, but it does not guarantee that finding that input is computationally practical.

  10. 10

    Which description best captures a one-way function as presented in the content?

    1. A

      A function that is hard to compute in either direction

    2. B

      A function that produces the same output for every possible input

    3. C

      A function that is easy to invert but difficult to compute

    4. D

      A function that is easy to compute in one direction but hard to invert

    Correct answer
    D

    A function that is easy to compute in one direction but hard to invert

    Explanation

    One-way functions are described as easy to evaluate but computationally difficult to reverse.

  11. 11

    Which operation is used as an example of an easy forward computation underlying RSA?

    1. A

      Testing every possible key until a message is readable

    2. B

      Finding the prime factors of a large composite number

    3. C

      Recovering a private key from a public key

    4. D

      Multiplying two large prime numbers

    Correct answer
    D

    Multiplying two large prime numbers

    Explanation

    Multiplying two large primes to obtain their product is considered easy, while recovering the primes from the product is believed to be hard.

  12. 12

    What is the computational challenge associated with a number known to be the product of two large primes?

    1. A

      Checking whether the product has an even number of digits

    2. B

      Writing the product as a decimal number

    3. C

      Multiplying the two primes to obtain the product

    4. D

      Finding the two prime factors from the product

    Correct answer
    D

    Finding the two prime factors from the product

    Explanation

    The content contrasts easy multiplication with the apparent difficulty of factoring the resulting number into its prime components.

  13. 13

    What is the status of the claim that factoring large integers is computationally difficult?

    1. A

      It is equivalent to proving that every number is prime

    2. B

      It is widely believed, but the general difficulty has not been proved

    3. C

      It has been disproved by a known efficient general factoring method

    4. D

      It has been proved to be impossible for every computer

    Correct answer
    B

    It is widely believed, but the general difficulty has not been proved

    Explanation

    The content characterizes factoring's difficulty as an open problem: it is widely believed to be hard, but this has not been theoretically settled.

  14. 14

    How does the content relate factoring to the question of whether P=NPP = NPP=NP?

    1. A

      Factoring is stated to be harder than every problem in NPNPNP

    2. B

      Proving factoring difficult would automatically prove that P=NPP = NPP=NP

    3. C

      Factoring is a related open problem, but it is possible for factoring to be easy even if P≠NPP \ne NPP=NP

    4. D

      Factoring and P=NPP = NPP=NP are stated to be exactly the same problem

    Correct answer
    C

    Factoring is a related open problem, but it is possible for factoring to be easy even if P≠NPP \ne NPP=NP

    Explanation

    The content says the problems are related in kind, but notes that factoring could be tractable without implying that P=NPP = NPP=NP.

  15. 15

    What does the content say about the relationship between one-way functions and the P=NPP = NPP=NP question?

    1. A

      One-way functions have been proved impossible whenever P≠NPP \ne NPP=NP

    2. B

      The existence of one-way functions is unrelated to computational complexity

    3. C

      The existence of one-way functions is closely related to the question

    4. D

      One-way functions have been proved to make P=NPP = NPP=NP true

    Correct answer
    C

    The existence of one-way functions is closely related to the question

    Explanation

    The content describes the existence of one-way functions as closely related to the famous open question of whether P=NPP = NPP=NP.

  16. 16

    Why do organizations use RSA despite the lack of a proof that factoring is hard?

    1. A

      They rely on a theorem proving that every RSA ciphertext is impossible to decrypt

    2. B

      They use RSA only when the factors of the public number are already known

    3. C

      They rely on the strong practical belief that factoring large numbers is difficult

    4. D

      They know that factoring has been mathematically proved impossible

    Correct answer
    C

    They rely on the strong practical belief that factoring large numbers is difficult

    Explanation

    Banks, governments, and businesses rely on the widely held belief that factoring large numbers is difficult, even though the general question remains open.

  17. 17

    What does the receiver generate first when setting up RSA?

    1. A

      A ciphertext and its corresponding message

    2. B

      Two composite numbers whose factors are already public

    3. C

      A public key and a second public key

    4. D

      Two large prime numbers, ppp and qqq

    Correct answer
    D

    Two large prime numbers, ppp and qqq

    Explanation

    The receiver begins by generating two substantial primes, called ppp and qqq.

  18. 18

    Why should the receiver choose the primes ppp and qqq in a way that is difficult to predict?

    1. A

      Predictable prime selection could create a vulnerability by making the primes easier to guess

    2. B

      Unpredictable primes ensure that the receiver can avoid using a private key

    3. C

      Unpredictable primes make multiplication possible, whereas predictable primes cannot be multiplied

    4. D

      Predictable primes prevent the public key from being published

    Correct answer
    A

    Predictable prime selection could create a vulnerability by making the primes easier to guess

    Explanation

    The content warns that a predictable procedure for choosing the primes would be a vulnerability, and recommends choosing them more or less randomly.

  19. 19

    How is the RSA modulus nnn constructed?

    1. A

      By multiplying the two primes, so that n=pqn = pqn=pq

    2. B

      By multiplying the public exponent by the private exponent

    3. C

      By subtracting the smaller prime from the larger one

    4. D

      By adding the two primes, so that n=p+qn = p + qn=p+q

    Correct answer
    A

    By multiplying the two primes, so that n=pqn = pqn=pq

    Explanation

    The receiver multiplies ppp and qqq to form the modulus nnn.

  20. 20

    What role does (p−1)(q−1)(p-1)(q-1)(p−1)(q−1) play in the RSA setup described?

    1. A

      It is the value to which the public exponent eee must be relatively prime

    2. B

      It is the product of the public modulus and the ciphertext

    3. C

      It is the published pair of numbers that replaces eee and nnn

    4. D

      It is the value that the sender uses as the plaintext message

    Correct answer
    A

    It is the value to which the public exponent eee must be relatively prime

    Explanation

    The receiver chooses eee to be relatively prime to (p−1)(q−1)(p-1)(q-1)(p−1)(q−1), which the content identifies as Euler's function of nnn.

  21. 21

    Which condition must the receiver ensure when choosing the public exponent eee?

    1. A

      eee must equal one of the prime factors of nnn

    2. B

      eee must be divisible by both p−1p-1p−1 and q−1q-1q−1

    3. C

      eee must be relatively prime to (p−1)(q−1)(p-1)(q-1)(p−1)(q−1)

    4. D

      eee must be the same number as the private key ddd

    Correct answer
    C

    eee must be relatively prime to (p−1)(q−1)(p-1)(q-1)(p−1)(q−1)

    Explanation

    The receiver selects eee so that it has a multiplicative inverse modulo (p−1)(q−1)(p-1)(q-1)(p−1)(q−1); this requires the two to be relatively prime.

  22. 22

    Which information makes up the receiver's public key in the RSA procedure described?

    1. A

      The pair (p−1,q−1)(p-1,q-1)(p−1,q−1)

    2. B

      The pair (d,n)(d,n)(d,n)

    3. C

      The pair (e,n)(e,n)(e,n)

    4. D

      The pair (p,q)(p,q)(p,q)

    Correct answer
    C

    The pair (e,n)(e,n)(e,n)

    Explanation

    The receiver publishes eee and nnn as the public key.

  23. 23

    How is the private exponent ddd defined?

    1. A

      It is the product of eee and nnn

    2. B

      It is the remainder when nnn is divided by eee

    3. C

      It is the sum of the secret primes ppp and qqq

    4. D

      It is the multiplicative inverse of eee modulo (p−1)(q−1)(p-1)(q-1)(p−1)(q−1)

    Correct answer
    D

    It is the multiplicative inverse of eee modulo (p−1)(q−1)(p-1)(q-1)(p−1)(q−1)

    Explanation

    The receiver computes ddd as the inverse of eee modulo (p−1)(q−1)(p-1)(q-1)(p−1)(q−1).

  24. 24

    Why can the receiver find ddd once eee has been chosen appropriately?

    1. A

      Because the receiver can derive ddd by multiplying ppp and qqq

    2. B

      Because ddd is always equal to n−en-en−e

    3. C

      Because the sender publishes ddd along with the ciphertext

    4. D

      Because the extended Euclidean algorithm can compute the required modular inverse

    Correct answer
    D

    Because the extended Euclidean algorithm can compute the required modular inverse

    Explanation

    The extended Euclidean algorithm, also called the Pulverizer in the content, can find the inverse of eee modulo (p−1)(q−1)(p-1)(q-1)(p−1)(q−1).

  25. 25

    What should the receiver keep secret after creating the RSA keys?

    1. A

      The private exponent ddd

    2. B

      The public modulus nnn

    3. C

      The public exponent eee

    4. D

      The ciphertext sent by every sender

    Correct answer
    A

    The private exponent ddd

    Explanation

    The receiver publishes eee and nnn but keeps ddd private because it is used to decrypt messages.

  26. 26

    How should a message be represented for the RSA operation described?

    1. A

      As a number mmm in the range from 111 to nnn

    2. B

      As a prime number larger than nnn

    3. C

      As a number that must equal the public exponent eee

    4. D

      As a pair of numbers whose product is nnn

    Correct answer
    A

    As a number mmm in the range from 111 to nnn

    Explanation

    The sender represents the message as a number in the stated range from 111 to nnn.

  27. 27

    What does the content recommend if a message is too large to fit into the permitted number range?

    1. A

      Ask the receiver to publish the factors of nnn

    2. B

      Send the entire message as the private exponent

    3. C

      Break the message into smaller pieces that fit the range

    4. D

      Replace the message with the modulus nnn

    Correct answer
    C

    Break the message into smaller pieces that fit the range

    Explanation

    A message that is too large can be divided into pieces that each fit within the range used by RSA.

  28. 28

    What does the sender do with the public key to encrypt a message mmm?

    1. A

      Computes mem^eme modulo nnn

    2. B

      Computes nmn^mnm modulo eee

    3. C

      Computes mdm^dmd modulo nnn

    4. D

      Computes eme^mem modulo ddd

    Correct answer
    A

    Computes mem^eme modulo nnn

    Explanation

    The sender raises the message to the public exponent eee in arithmetic modulo nnn, producing the encrypted value.

  29. 29

    In the RSA procedure, what is the encrypted message often denoted by?

    1. A

      ppp

    2. B

      ddd

    3. C

      ϕ(n)\phi(n)ϕ(n)

    4. D

      m^\hat{m}m^

    Correct answer
    D

    m^\hat{m}m^

    Explanation

    The content denotes the encoded or encrypted message as m^\hat{m}m^ after computing the public-key exponentiation.

  30. 30

    How does the receiver recover a message from the encrypted value m^\hat{m}m^?

    1. A

      Multiplies m^\hat{m}m^ by each of the primes

    2. B

      Computes m^d\hat{m}^{d}m^d modulo nnn

    3. C

      Computes m^e\hat{m}^{e}m^e modulo (p−1)(q−1)(p-1)(q-1)(p−1)(q−1)

    4. D

      Divides m^\hat{m}m^ by the public exponent

    Correct answer
    B

    Computes m^d\hat{m}^{d}m^d modulo nnn

    Explanation

    The receiver uses the private exponent ddd to raise the ciphertext to the dddth power modulo nnn.

  31. 31

    Why does the RSA decryption procedure recover the original message when mmm is relatively prime to nnn?

    1. A

      The ciphertext is always identical to the message

    2. B

      The sender publishes the original message together with the ciphertext

    3. C

      The primes ppp and qqq cancel out during ordinary integer division

    4. D

      Euler's theorem supports the identity obtained by applying the exponents eee and ddd

    Correct answer
    D

    Euler's theorem supports the identity obtained by applying the exponents eee and ddd

    Explanation

    The content explains that Euler's theorem justifies decryption when mmm is relatively prime to nnn.

  32. 32

    Why does the content describe messages that are not relatively prime to nnn as rare in practice?

    1. A

      They are excluded because the public exponent is always prime

    2. B

      Finding such a message would reveal a factor of nnn, which is believed to be difficult

    3. C

      Such messages cannot be written as numbers

    4. D

      They are rare because every message must be a prime larger than nnn

    Correct answer
    B

    Finding such a message would reveal a factor of nnn, which is believed to be difficult

    Explanation

    A message sharing a factor with nnn would enable someone to factor nnn; because factoring is believed to be hard, such a case is considered negligible.

  33. 33

    What stronger theoretical fact about RSA decryption does the content mention?

    1. A

      Decryption works for all messages only if p=qp=qp=q

    2. B

      Decryption works only when the message equals one of the primes

    3. C

      Decryption works only when the ciphertext is publicly factored

    4. D

      The decryption procedure works for all messages, not only those relatively prime to nnn

    Correct answer
    D

    The decryption procedure works for all messages, not only those relatively prime to nnn

    Explanation

    Although the Euler's theorem explanation is straightforward for messages relatively prime to nnn, the content states that RSA decryption in fact works for all messages.

  34. 34

    What does the prime number theorem estimate for the number of primes up to nnn?

    1. A

      The count is approximately n\sqrt{n}n​ for large nnn

    2. B

      The count is exactly log⁡n\log nlogn for every nnn

    3. C

      The count is approximately n/log⁡nn/\log nn/logn for large nnn

    4. D

      The count is approximately n2n^2n2 for large nnn

    Correct answer
    C

    The count is approximately n/log⁡nn/\log nn/logn for large nnn

    Explanation

    The content states that the prime-counting function π(n)\pi(n)π(n) is asymptotically close to n/log⁡nn/\log nn/logn.

  35. 35

    What does the prime-counting function π(n)\pi(n)π(n) represent?

    1. A

      The number of digits in the prime factorization of nnn

    2. B

      The largest prime factor of nnn

    3. C

      The product of all primes less than or equal to nnn

    4. D

      The number of primes less than or equal to nnn

    Correct answer
    D

    The number of primes less than or equal to nnn

    Explanation

    The content defines π(n)\pi(n)π(n) as the number of primes less than or equal to nnn.

  36. 36

    What lower bound does the content give for π(n)\pi(n)π(n) using Chebyshev's bound?

    1. A

      log⁡n/(4n)\log n/(4n)logn/(4n)

    2. B

      4n/log⁡n4n/\log n4n/logn

    3. C

      n/(4log⁡n)n/(4\log n)n/(4logn)

    4. D

      n2/(4log⁡n)n^2/(4\log n)n2/(4logn)

    Correct answer
    C

    n/(4log⁡n)n/(4\log n)n/(4logn)

    Explanation

    The stated Chebyshev bound is that n/(4log⁡n)n/(4\log n)n/(4logn) is a lower bound on the number of primes up to nnn.

  37. 37

    Why is the density of primes relevant when generating RSA keys?

    1. A

      It suggests that a search through candidate numbers need not be excessively long before finding a prime

    2. B

      It ensures that the public modulus has only one prime factor

    3. C

      It proves that every randomly chosen number is prime

    4. D

      It allows the receiver to skip checking whether candidates are prime

    Correct answer
    A

    It suggests that a search through candidate numbers need not be excessively long before finding a prime

    Explanation

    Because primes occur often enough among large numbers, the receiver can search candidate numbers and expect to find primes without an impractically long search.

  38. 38

    Why must a practical RSA key-generation process include an efficient way to test whether a candidate is prime?

    1. A

      The sender must test whether every message is prime before encrypting it

    2. B

      The public key is valid only if the exponent is composite

    3. C

      The receiver needs to prove that the ciphertext is a prime number

    4. D

      The receiver needs to recognize prime candidates while searching for the required large primes

    Correct answer
    D

    The receiver needs to recognize prime candidates while searching for the required large primes

    Explanation

    Finding candidate primes is useful only if the receiver can efficiently identify which candidates are prime.

  39. 39

    What does Fermat's theorem say about a nonzero residue aaa when nnn is prime?

    1. A

      ana^{n}an is always congruent to 000 modulo nnn

    2. B

      an−1a^{n-1}an−1 is congruent to 111 modulo nnn

    3. C

      aaa must be equal to n−1n-1n−1

    4. D

      an−1a^{n-1}an−1 is congruent to nnn modulo aaa

    Correct answer
    B

    an−1a^{n-1}an−1 is congruent to 111 modulo nnn

    Explanation

    For prime nnn and a nonzero residue aaa, Fermat's theorem gives an−1≡1(modn)a^{n-1} \equiv 1 \pmod nan−1≡1(modn).

  40. 40

    If a candidate nnn fails the Fermat test for a chosen nonzero aaa, what can be concluded?

    1. A

      aaa must be a factor of nnn

    2. B

      nnn is definitely prime

    3. C

      nnn is not prime

    4. D

      nnn must be a Carmichael number

    Correct answer
    C

    nnn is not prime

    Explanation

    A prime must satisfy Fermat's congruence for every nonzero residue. A failure therefore proves that the candidate is composite.

  41. 41

    If a candidate nnn passes a Fermat test for one chosen value of aaa, what can be concluded?

    1. A

      nnn is certainly prime

    2. B

      aaa is the private exponent associated with nnn

    3. C

      The result is inconclusive, because some composite numbers also pass

    4. D

      nnn has exactly two prime factors

    Correct answer
    C

    The result is inconclusive, because some composite numbers also pass

    Explanation

    Passing the test does not prove primality, since a composite number may still satisfy the Fermat congruence for the chosen base.

  42. 42

    For a nonprime number that is not a Carmichael-number exception, what does the content say about Fermat testing across possible bases?

    1. A

      Every number from 111 to nnn passes the test

    2. B

      At least half of the numbers from 111 to nnn fail the test

    3. C

      At least half of the numbers from 111 to nnn are prime

    4. D

      Exactly one number from 111 to nnn fails the test

    Correct answer
    B

    At least half of the numbers from 111 to nnn fail the test

    Explanation

    The content states that for a nonprime nnn, at least half of the candidate bases fail the Fermat test, apart from the noted Carmichael-number complication.

  43. 43

    Under the test assumptions described, what is the chance that a composite candidate passes 505050 independent random Fermat tests?

    1. A

      At most 1/501/501/50

    2. B

      At least 50/250/250/2

    3. C

      Exactly 1/21/21/2

    4. D

      At most 1/2501/2^{50}1/250

    Correct answer
    D

    At most 1/2501/2^{50}1/250

    Explanation

    If each random test has at least a one-half chance of detecting compositeness, then the chance of passing all 505050 tests is at most (1/2)50(1/2)^{50}(1/2)50.

  44. 44

    What are Carmichael numbers in the context of Fermat testing?

    1. A

      Bases that make every composite number fail a Fermat test

    2. B

      Composite numbers that complicate the claim that at least half of the bases will fail the Fermat test

    3. C

      Numbers that are automatically the product of exactly two large primes

    4. D

      Prime numbers that never satisfy Fermat's theorem

    Correct answer
    B

    Composite numbers that complicate the claim that at least half of the bases will fail the Fermat test

    Explanation

    The content identifies Carmichael numbers as exceptions to the general failure-rate property of Fermat tests for composites.

  45. 45

    Why does the content treat Carmichael numbers as a limited practical concern for randomly selected candidates?

    1. A

      They can always be identified by checking whether a number is even

    2. B

      They cannot occur among numbers with many digits

    3. C

      They are described as the most common type of integer

    4. D

      They are described as sparse, making a random encounter unlikely

    Correct answer
    D

    They are described as sparse, making a random encounter unlikely

    Explanation

    The content says Carmichael numbers are sparse, so randomly choosing candidates makes the chance of encountering one small.

  46. 46

    How can the receiver efficiently check whether a candidate exponent eee is relatively prime to (p−1)(q−1)(p-1)(q-1)(p−1)(q−1)?

    1. A

      Compute their greatest common divisor using Euclid's algorithm

    2. B

      Compare the number of digits in eee and nnn

    3. C

      Factor the public modulus using trial division

    4. D

      Raise the message to the power eee and inspect the ciphertext

    Correct answer
    A

    Compute their greatest common divisor using Euclid's algorithm

    Explanation

    The receiver can test relative primality by computing the greatest common divisor with Euclid's algorithm.

  47. 47

    Why can the receiver typically find a suitable exponent eee without testing many candidates?

    1. A

      Every integer is relatively prime to (p−1)(q−1)(p-1)(q-1)(p−1)(q−1)

    2. B

      The exponent must be one of the secret prime factors

    3. C

      A randomly chosen candidate is likely to be relatively prime to (p−1)(q−1)(p-1)(q-1)(p−1)(q−1)

    4. D

      The receiver can use any value without checking it

    Correct answer
    C

    A randomly chosen candidate is likely to be relatively prime to (p−1)(q−1)(p-1)(q-1)(p−1)(q−1)

    Explanation

    The content says that searching among candidate values for eee is expected to find one relatively prime to (p−1)(q−1)(p-1)(q-1)(p−1)(q−1) after only a few steps.

  48. 48

    What algorithm does the receiver use to find the private exponent ddd?

    1. A

      A search through all possible messages

    2. B

      The extended Euclidean algorithm

    3. C

      The Fermat primality test

    4. D

      The prime number theorem

    Correct answer
    B

    The extended Euclidean algorithm

    Explanation

    The extended Euclidean algorithm computes the modular inverse that defines ddd.

  49. 49

    If an attacker can factor the public modulus nnn, why can the attacker recover the RSA private exponent?

    1. A

      The factors reveal (p−1)(q−1)(p-1)(q-1)(p−1)(q−1), allowing the attacker to compute the inverse of eee

    2. B

      The factors reveal the original message without needing any computation

    3. C

      The factors eliminate the need for a modular inverse

    4. D

      The factors make the public exponent equal to the ciphertext

    Correct answer
    A

    The factors reveal (p−1)(q−1)(p-1)(q-1)(p−1)(q−1), allowing the attacker to compute the inverse of eee

    Explanation

    Factoring nnn reveals ppp and qqq, and therefore (p−1)(q−1)(p-1)(q-1)(p−1)(q−1). The attacker can then use the extended Euclidean algorithm to find ddd.

  50. 50

    What reverse implication about RSA security does the content say can be proved?

    1. A

      If someone can publish nnn, they can also recover every message

    2. B

      If someone can find the private key ddd, they can also factor nnn

    3. C

      If someone can encrypt a message, they can also factor nnn

    4. D

      If someone can find a prime, they can automatically find ddd

    Correct answer
    B

    If someone can find the private key ddd, they can also factor nnn

    Explanation

    The content states that an argument can show that finding the private key ddd would also allow the attacker to factor nnn.

  51. 51

    What stronger security guarantee is not known for RSA?

    1. A

      A proof that decrypting messages by any method is as hard as factoring

    2. B

      A proof that multiplying two numbers produces a product

    3. C

      A proof that the receiver can publish the pair (e,n)(e,n)(e,n)

    4. D

      A proof that the extended Euclidean algorithm can find inverses

    Correct answer
    A

    A proof that decrypting messages by any method is as hard as factoring

    Explanation

    The content notes that it is not known whether breaking RSA by any possible method is as hard as factoring; an attacker might conceivably decrypt without finding ddd.

  52. 52

    Why does the content say that knowing factoring is hard does not fully prove that every RSA message is secure?

    1. A

      The public exponent is never used during encryption

    2. B

      An attacker might decrypt messages through a method that does not recover the private key

    3. C

      Factoring the modulus is required for every legitimate decryption

    4. D

      The receiver publishes the prime factors along with the public key

    Correct answer
    B

    An attacker might decrypt messages through a method that does not recover the private key

    Explanation

    The content allows for the logical possibility that messages could be decrypted by a route other than finding the private exponent and factoring the modulus.

  53. 53

    What practical evidence for RSA's security does the content emphasize?

    1. A

      Extensive efforts by mathematicians and cryptographers had not broken it during the period described

    2. B

      A mathematical theorem proves that no computer can ever factor an RSA modulus

    3. C

      RSA has never required any changes to its implementation rules

    4. D

      The ciphertext is too large for computers to store

    Correct answer
    A

    Extensive efforts by mathematicians and cryptographers had not broken it during the period described

    Explanation

    The content points to many years of work by mathematicians and powerful cryptographic efforts that had not cracked RSA during the period being discussed.

  54. 54

    What does the content say about glitches discovered during RSA's history?

    1. A

      Some issues led to additional rules for choosing ppp, qqq, and eee, and those issues were identified and fixed

    2. B

      They showed that prime numbers cannot be used in encryption

    3. C

      They made factoring unnecessary for recovering the private key

    4. D

      They proved that the public exponent must be kept secret

    Correct answer
    A

    Some issues led to additional rules for choosing ppp, qqq, and eee, and those issues were identified and fixed

    Explanation

    The content says that various glitches required additional rules for selecting the primes and exponent, but that these issues were identified and fixed.

Question 1 of 54
Question 1 of 54

Ask anything

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

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent