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

Study methods

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

Public-Key Encryption

  • 49Unfamiliar
  • 0Learning
  • 0Familiar
  • 0Mastered
Topic: Public-Key Basics

What contribution did Diffie and Hellman make to the development of public-key cryptography?

49 questions

  1. 1

    What contribution did Diffie and Hellman make to the development of public-key cryptography?

    1. A

      They created elliptic-curve signatures for authenticating digital messages.

    2. B

      They developed PGP by combining hashes with symmetric encryption.

    3. C

      They laid its foundations by proposing a key-exchange method and a trapdoor approach.

    4. D

      They introduced RSA by showing how to multiply two large prime numbers.

    Correct answer
    C

    They laid its foundations by proposing a key-exchange method and a trapdoor approach.

    Explanation

    Their 1976 paper proposed a key-exchange method and the idea of a trapdoor function: a problem that is difficult without a secret but easier with one.

  2. 2

    Which statement correctly describes the development of RSA?

    1. A

      Rivest, Shamir, and Adleman introduced RSA in 1977, and it remains in use.

    2. B

      Rivest, Shamir, and Adleman introduced RSA in 1976 as a key-exchange method.

    3. C

      Diffie and Hellman introduced RSA in 1976, and it was soon replaced.

    4. D

      ElGamal introduced RSA in 1977 for elliptic-curve transactions.

    Correct answer
    A

    Rivest, Shamir, and Adleman introduced RSA in 1977, and it remains in use.

    Explanation

    The content identifies Rivest, Shamir, and Adleman as the creators of RSA in 1977 and notes that RSA is still used.

  3. 3

    What makes a cryptographic problem suitable for a trapdoor method?

    1. A

      Solving it takes the same effort whether or not the secret is known.

    2. B

      Solving it is difficult without a secret but much easier when the secret is known.

    3. C

      Solving it is easy without a secret but difficult when the secret is known.

    4. D

      Solving it requires the public key to be kept secret from all other users.

    Correct answer
    B

    Solving it is difficult without a secret but much easier when the secret is known.

    Explanation

    A trapdoor method relies on a problem that is expensive to solve without secret information but comparatively easy to solve with it.

  4. 4

    Which arrangement describes a public-key pair?

    1. A

      A private key that can be shared and a public key that its owner keeps secret.

    2. B

      Two private keys that are kept secret and used only for decryption.

    3. C

      Two public keys that are shared and used only for encryption.

    4. D

      A public key that can be shared and a private key that its owner keeps secret.

    Correct answer
    D

    A public key that can be shared and a private key that its owner keeps secret.

    Explanation

    Each user has a key pair: a public key that others may know and a private key that the owner keeps secret.

  5. 5

    Which set contains the three principal mathematical problem types discussed for public-key methods?

    1. A

      Prime generation, data compression, and elliptic-curve plotting.

    2. B

      Integer factorization, discrete logarithms, and elliptic-curve methods.

    3. C

      Discrete logarithms, password guessing, and symmetric key exchange.

    4. D

      Integer addition, symmetric substitution, and message hashing.

    Correct answer
    B

    Integer factorization, discrete logarithms, and elliptic-curve methods.

    Explanation

    The three main types described are integer factorization, discrete logarithms, and elliptic-curve methods.

  6. 6

    Why does the content say that discrete-log methods are hardly ever used these days?

    1. A

      They depend on factoring the modulus into two primes.

    2. B

      They cannot be used to establish a shared secret.

    3. C

      They require the recipient to reveal their private key.

    4. D

      They are becoming more computationally difficult to use.

    Correct answer
    D

    They are becoming more computationally difficult to use.

    Explanation

    The content says discrete-log methods are hardly ever used because they are becoming more computationally difficult.

  7. 7

    Which statement about the methods and examples mentioned is accurate?

    1. A

      RSA remains in use, ElGamal is used for digital signatures, and elliptic-curve examples include Curve 25519 and secp256k1.

    2. B

      RSA is used for digital signatures, ElGamal is an elliptic curve, and secp256k1 is a factoring method.

    3. C

      ElGamal is used for website identification, Curve 25519 is an RSA modulus, and RSA is a discrete logarithm.

    4. D

      Curve 25519 and secp256k1 are symmetric ciphers, while RSA is used only for key exchange.

    Correct answer
    A

    RSA remains in use, ElGamal is used for digital signatures, and elliptic-curve examples include Curve 25519 and secp256k1.

    Explanation

    The content associates RSA with ongoing use and website identification, ElGamal with digital signatures, and Curve 25519 and secp256k1 with elliptic curves.

  8. 8

    Why are elliptic-curve methods described as efficient compared with the other two approaches?

    1. A

      They eliminate the need for a private key when encrypting messages.

    2. B

      They use thousands of bits while RSA and discrete-log methods use only a few hundred.

    3. C

      They avoid using public keys and therefore require no calculations.

    4. D

      They can provide the described performance using key sizes such as 160 or 256 bits rather than thousands of bits.

    Correct answer
    D

    They can provide the described performance using key sizes such as 160 or 256 bits rather than thousands of bits.

    Explanation

    The content contrasts elliptic-curve sizes of about 160 or 256 bits with the thousands of bits used in the other approaches and describes ECC as more efficient.

  9. 9

    What risk do quantum computers pose to the public-key methods discussed?

    1. A

      They could make symmetric encryption impossible to combine with public keys.

    2. B

      They could prevent users from sharing public keys with one another.

    3. C

      They could make the problems underlying these methods no longer hard to solve.

    4. D

      They could cause digital certificates to stop containing public keys.

    Correct answer
    C

    They could make the problems underlying these methods no longer hard to solve.

    Explanation

    The content says the methods are at risk because quantum computers do not treat their underlying problems as hard in the same way, so alternatives may eventually be needed.

  10. 10

    In the discrete-log setup described, what is the difficult task when yyy, ggg, and ppp are known?

    1. A

      Finding the secret exponent xxx in a relationship involving gxg^xgx modulo ppp.

    2. B

      Finding two prime factors of ppp when ggg and xxx are known.

    3. C

      Finding the generator ggg when the secret exponent xxx is known.

    4. D

      Finding the remainder of ggg divided by xxx without knowing ppp.

    Correct answer
    A

    Finding the secret exponent xxx in a relationship involving gxg^xgx modulo ppp.

    Explanation

    The discrete-log problem is to recover the secret exponent xxx from the known values yyy, ggg, and ppp.

  11. 11

    How does Alice receive confidential data sent using public-key encryption?

    1. A

      Bob encrypts the data with his public key, and Alice decrypts it with Bob's private key.

    2. B

      Bob encrypts the data with Alice's private key, and Alice decrypts it with her public key.

    3. C

      Bob encrypts the data with his private key, and Alice decrypts it with her private key.

    4. D

      Bob encrypts the data with Alice's public key, and Alice decrypts it with her private key.

    Correct answer
    D

    Bob encrypts the data with Alice's public key, and Alice decrypts it with her private key.

    Explanation

    To encrypt data for Alice, Bob uses Alice's public key; Alice then uses her private key to decrypt it.

  12. 12

    Why is public-key encryption generally not used to encrypt a large amount of data directly?

    1. A

      The computations can be expensive, so a symmetric method is typically used for large data.

    2. B

      The recipient's private key must be transmitted along with the encrypted data.

    3. C

      A public key cannot be used unless the data has first been digitally signed.

    4. D

      A public key can encrypt only a single character of data at a time.

    Correct answer
    A

    The computations can be expensive, so a symmetric method is typically used for large data.

    Explanation

    The content notes that public-key calculations can be computationally difficult for large amounts of data, so symmetric encryption is typically used instead.

  13. 13

    How can Bob use public-key cryptography to send Alice a symmetric key?

    1. A

      He encrypts the symmetric key with Alice's private key, and she decrypts it with her public key.

    2. B

      He sends the symmetric key unencrypted and uses Alice's public key to verify it.

    3. C

      He encrypts the symmetric key with his public key, and she decrypts it with her private key.

    4. D

      He encrypts the symmetric key with Alice's public key, and she decrypts it with her private key.

    Correct answer
    D

    He encrypts the symmetric key with Alice's public key, and she decrypts it with her private key.

    Explanation

    Bob can protect the symmetric key by encrypting it with Alice's public key; Alice uses her private key to recover it.

  14. 14

    Which list gives the three uses of public-key cryptography identified in the content?

    1. A

      Hashing data, creating prime numbers, and storing public keys privately.

    2. B

      Compressing data, generating passwords, and replacing all symmetric encryption.

    3. C

      Encrypting data, exchanging a key, and proving identity through signing.

    4. D

      Encrypting data, factoring moduli, and distributing private keys.

    Correct answer
    C

    Encrypting data, exchanging a key, and proving identity through signing.

    Explanation

    The three uses described are data encryption, key exchange, and proof of identity through a signing process.

  15. 15

    How does Bob create a signature for a message in the signing process described?

    1. A

      He hashes the message and encrypts the hash using Alice's private key.

    2. B

      He hashes the message and sends the hash using no key.

    3. C

      He encrypts the entire message using his public key and sends no hash.

    4. D

      He hashes the message and encrypts the hash using his private key.

    Correct answer
    D

    He hashes the message and encrypts the hash using his private key.

    Explanation

    In the described process, Bob hashes the data and uses his private key to encrypt the hash, creating a signature.

  16. 16

    How can Alice check the signature Bob sent?

    1. A

      She encrypts the received message with Bob's public key and compares it with the signed hash.

    2. B

      She hashes the received message, decrypts Bob's signed hash with Bob's public key, and compares the hashes.

    3. C

      She decrypts the received message with Bob's private key and checks whether it is readable.

    4. D

      She hashes the received message, decrypts Bob's signed hash with her private key, and compares the hashes.

    Correct answer
    B

    She hashes the received message, decrypts Bob's signed hash with Bob's public key, and compares the hashes.

    Explanation

    Alice recreates the message hash, uses Bob's public key to recover the signed hash, and checks whether the two hashes match.

  17. 17

    What does a match between Alice's hash and the hash recovered from Bob's signature establish in the described process?

    1. A

      It proves that no symmetric key was used to transmit the message.

    2. B

      It shows that the message can be decrypted without any private key.

    3. C

      It proves that the message was encrypted with Alice's private key.

    4. D

      It supports that Bob signed the message and that the message was not changed in transit.

    Correct answer
    D

    It supports that Bob signed the message and that the message was not changed in transit.

    Explanation

    The content says matching hashes let Alice know that Bob signed the message and that it was not changed during transmission.

  18. 18

    What is the role of a trusted entity such as Trent in a digital certificate?

    1. A

      The trusted entity signs the certificate so recipients can check its authenticity.

    2. B

      The trusted entity generates Alice's private key whenever she requests one.

    3. C

      The trusted entity decrypts Bob's signature before Alice receives it.

    4. D

      The trusted entity encrypts every message sent between Bob and Alice.

    Correct answer
    A

    The trusted entity signs the certificate so recipients can check its authenticity.

    Explanation

    A digital certificate is described as being signed by an entity trusted by both parties, allowing a recipient to check that signature.

  19. 19

    What distinguishes the secret certificate form from the distributable form described?

    1. A

      The secret form contains the certificate signature only, while the distributable form contains the message.

    2. B

      The secret form contains the private key, while the distributable form contains the public key.

    3. C

      The secret form contains a symmetric key, while the distributable form contains no key.

    4. D

      The secret form contains only a public key, while the distributable form contains the private key.

    Correct answer
    B

    The secret form contains the private key, while the distributable form contains the public key.

    Explanation

    The content describes keeping a certificate containing the private key secret and exporting a form that contains only the public key for distribution.

  20. 20

    What is the practical purpose of Alice keeping a key ring of public keys?

    1. A

      She can store all users' private keys and sign messages on their behalf.

    2. B

      She can avoid checking whether a trusted entity signed a certificate.

    3. C

      She can retrieve a saved public key when communicating instead of repeatedly requesting it.

    4. D

      She can use the saved public keys to decrypt messages encrypted for other users.

    Correct answer
    C

    She can retrieve a saved public key when communicating instead of repeatedly requesting it.

    Explanation

    A key ring can hold public keys Alice expects to use, so she can look them up rather than repeatedly requesting them.

  21. 21

    In RSA, how is the modulus nnn formed from the two prime numbers?

    1. A

      By multiplying them, so that n=pqn=pqn=pq.

    2. B

      By subtracting the smaller from the larger, so that n=p−qn=p-qn=p−q.

    3. C

      By dividing the larger by the smaller, so that n=p/qn=p/qn=p/q.

    4. D

      By adding them, so that n=p+qn=p+qn=p+q.

    Correct answer
    A

    By multiplying them, so that n=pqn=pqn=pq.

    Explanation

    RSA forms its modulus by multiplying the two primes: n=pqn=pqn=pq.

  22. 22

    What is the central difficulty underlying RSA's factorization problem?

    1. A

      Computing a message hash without knowing the public key.

    2. B

      Recovering the two large prime factors from their product.

    3. C

      Multiplying two known large prime numbers to form their product.

    4. D

      Finding a generator when the modulus is already factored.

    Correct answer
    B

    Recovering the two large prime factors from their product.

    Explanation

    The content describes it as difficult to find the two primes that created a given modulus when those primes are large.

  23. 23

    If RSA uses two prime numbers of about 1,000 bits each, what modulus size does the content associate with them?

    1. A

      A modulus of about 500 bits, described as 500-bit RSA.

    2. B

      A modulus of about 1,000 bits, described as 1K RSA.

    3. C

      A modulus of about 2,000 bits, described as 2K RSA.

    4. D

      A modulus of about 3,000 bits, described as 3K RSA.

    Correct answer
    C

    A modulus of about 2,000 bits, described as 2K RSA.

    Explanation

    The example states that two primes of about 1,000 bits produce a modulus of about 2,000 bits, called 2K RSA.

  24. 24

    Which expression represents RSA encryption as described?

    1. A

      Raise the message to the power ddd and take the result modulo eee.

    2. B

      Raise the message to the power nnn and take the result modulo eee.

    3. C

      Multiply the message by eee and divide the result by nnn.

    4. D

      Raise the message to the power eee and take the result modulo nnn.

    Correct answer
    D

    Raise the message to the power eee and take the result modulo nnn.

    Explanation

    RSA encryption raises the message to the encryption exponent eee and reduces the result modulo nnn.

  25. 25

    Which expression represents RSA decryption in the content?

    1. A

      Raise the ciphertext to the power ddd and take the result modulo nnn.

    2. B

      Raise the modulus to the power ddd and take the result modulo eee.

    3. C

      Multiply the ciphertext by ddd and divide the result by nnn.

    4. D

      Raise the ciphertext to the power eee and take the result modulo ddd.

    Correct answer
    A

    Raise the ciphertext to the power ddd and take the result modulo nnn.

    Explanation

    To recover the message, RSA raises the ciphertext to the decryption exponent ddd and reduces modulo nnn.

  26. 26

    What does taking a value modulo nnn mean in the RSA calculations described?

    1. A

      Keeping the remainder after division by nnn.

    2. B

      Keeping the quotient after division by nnn.

    3. C

      Multiplying the value by nnn and keeping the product.

    4. D

      Dividing the value by nnn and discarding the remainder.

    Correct answer
    A

    Keeping the remainder after division by nnn.

    Explanation

    The content defines modulo nnn as taking the remainder after division by nnn.

  27. 27

    How is the RSA value called phi calculated from primes ppp and qqq?

    1. A

      By adding one to each prime and multiplying: (p+1)(q+1)(p+1)(q+1)(p+1)(q+1).

    2. B

      By multiplying one less than each prime: $�

    3. C

      By subtracting one prime from the other and squaring: (p−q)2(p-q)^2(p−q)2.

    4. D

      By multiplying the primes and then adding one: pq+1pq+1pq+1.

    Correct answer
    B

    By multiplying one less than each prime: $�

    Explanation

    The RSA calculation uses ��� equal to (p−1)(q−1)(p-1)(q-1)(p−1)(q−1). The first option is intended to state that product.

  28. 28

    What condition must the RSA encryption exponent eee satisfy according to the content?

    1. A

      It must be a factor of both prime numbers ppp and qqq.

    2. B

      Its greatest common divisor with phi must be 111.

    3. C

      Its greatest common divisor with phi must be phi.

    4. D

      It must be equal to phi so they share all their factors.

    Correct answer
    B

    Its greatest common divisor with phi must be 111.

    Explanation

    The content requires eee and phi to share no factors, written as ���.

  29. 29

    What relationship between RSA exponents eee and ddd makes decryption work?

    1. A

      Their product equals nnn before taking any remainder.

    2. B

      Their sum leaves a remainder of 111 when divided by nnn.

    3. C

      Their difference equals phi after taking a remainder.

    4. D

      Their product leaves a remainder of 111 when divided by phi.

    Correct answer
    D

    Their product leaves a remainder of 111 when divided by phi.

    Explanation

    The content defines ddd so that multiplying it by eee modulo phi gives 111: de mod ext{phi}=1.

  30. 30

    For the example p=3p=3p=3 and q=11q=11q=11, what are the RSA modulus and phi value?

    1. A

      n=14n=14n=14 and phi equals 333333.

    2. B

      n=20n=20n=20 and phi equals 333333.

    3. C

      n=33n=33n=33 and phi equals 141414.

    4. D

      n=33n=33n=33 and phi equals 202020.

    Correct answer
    D

    n=33n=33n=33 and phi equals 202020.

    Explanation

    The modulus is 3imes11=333 imes 11=333imes11=33, and phi is (3−1)(11−1)=2imes10=20(3-1)(11-1)=2 imes 10=20(3−1)(11−1)=2imes10=20.

  31. 31

    For the example with phi equal to 202020 and e=3e=3e=3, which value of ddd satisfies the required RSA relationship?

    1. A

      d=3d=3d=3, because 3imes33 imes 33imes3 leaves remainder 111 when divided by 202020.

    2. B

      d=6d=6d=6, because 6imes36 imes 36imes3 leaves remainder 111 when divided by 202020.

    3. C

      d=5d=5d=5, because 5imes35 imes 35imes3 leaves remainder 111 when divided by 202020.

    4. D

      d=7d=7d=7, because 7imes37 imes 37imes3 leaves remainder 111 when divided by 202020.

    Correct answer
    D

    d=7d=7d=7, because 7imes37 imes 37imes3 leaves remainder 111 when divided by 202020.

    Explanation

    7imes3=217 imes 3=217imes3=21, and 212121 leaves remainder 111 when divided by 202020, so d=7d=7d=7 works.

  32. 32

    In the RSA example with n=33n=33n=33, e=3e=3e=3, and d=7d=7d=7, which key values are used for encryption and decryption?

    1. A

      The encryption key is (3,20)(3,20)(3,20) and the decryption key is (7,20)(7,20)(7,20).

    2. B

      The encryption key is (7,33)(7,33)(7,33) and the decryption key is (3,33)(3,33)(3,33).

    3. C

      The encryption key is (33,3)(33,3)(33,3) and the decryption key is (33,7)(33,7)(33,7).

    4. D

      The encryption key is (3,33)(3,33)(3,33) and the decryption key is (7,33)(7,33)(7,33).

    Correct answer
    D

    The encryption key is (3,33)(3,33)(3,33) and the decryption key is (7,33)(7,33)(7,33).

    Explanation

    The example identifies (e,n)=(3,33)(e,n)=(3,33)(e,n)=(3,33) as the encryption key and (d,n)=(7,33)(d,n)=(7,33)(d,n)=(7,33) as the decryption key.

  33. 33

    What is the standard elliptic-curve equation given in the content?

    1. A

      y^2=x^3+ax+b mod p.

    2. B

      y=x^2+ap+b mod p.

    3. C

      x^2=y^3+ay+b mod n.

    4. D

      y3=x2+ab+py^3=x^2+ab+py3=x2+ab+p.

    Correct answer
    A

    y^2=x^3+ax+b mod p.

    Explanation

    The content gives the elliptic-curve equation as y^2=x^3+ax+b mod p.

  34. 34

    What is the purpose of using modulo the prime ppp in the elliptic-curve equation described?

    1. A

      It makes the curve use real-number coordinates only.

    2. B

      It keeps the operations within integer values for the curve.

    3. C

      It removes the need to define the curve parameters aaa and bbb.

    4. D

      It converts every curve point into a prime number.

    Correct answer
    B

    It keeps the operations within integer values for the curve.

    Explanation

    The content says that using modulo ppp means the elliptic curve operations deal with integer values.

  35. 35

    What property of elliptic-curve point addition is described?

    1. A

      Adding points is possible only if one point is the private key.

    2. B

      Adding points on the curve produces another point on the curve.

    3. C

      Adding two points always produces the prime number ppp.

    4. D

      Adding points on the curve always produces a point off the curve.

    Correct answer
    B

    Adding points on the curve produces another point on the curve.

    Explanation

    The content states that when points on the elliptic curve are added, the result is also a point on the curve.

  36. 36

    Which list matches the elliptic-curve parameters described?

    1. A

      aaa is the base point, bbb is the prime, ppp is the order, and nnn is the public key.

    2. B

      aaa and bbb are hashes, ppp is the public key, nnn is the base point, and GGG is the order.

    3. C

      aaa and bbb define the curve, ppp is the prime, nnn is the order, and GGG is the base point.

    4. D

      aaa and bbb are private keys, ppp is the order, nnn is the prime, and GGG is the signature.

    Correct answer
    C

    aaa and bbb define the curve, ppp is the prime, nnn is the order, and GGG is the base point.

    Explanation

    The content identifies aaa and bbb as curve parameters, ppp as the prime, nnn as the number of points or order, and GGG as the base point.

  37. 37

    What is the base point GGG used for in elliptic-curve operations?

    1. A

      It is the known starting point from which the parties perform curve operations.

    2. B

      It is the secret value used to decrypt every message.

    3. C

      It is the hash of the transaction that Bob signs.

    4. D

      It is the number of points on the curve and is kept private.

    Correct answer
    A

    It is the known starting point from which the parties perform curve operations.

    Explanation

    The base point GGG is described as a shared, known starting point for elliptic-curve operations.

  38. 38

    If nnn is a private key and GGG is the base point, how does the content describe deriving the public key PPP?

    1. A

      Compute P=nGP=nGP=nG by adding GGG to itself nnn times.

    2. B

      Compute P=n/GP=n/GP=n/G by dividing the private key by the base point.

    3. C

      Compute P=G^n mod p using ordinary exponentiation of coordinates.

    4. D

      Compute P=G+nP=G+nP=G+n by adding the private key to the base point once.

    Correct answer
    A

    Compute P=nGP=nGP=nG by adding GGG to itself nnn times.

    Explanation

    The public key is P=nGP=nGP=nG, described as adding the base point GGG to itself nnn times using elliptic-curve operations.

  39. 39

    Which information can be public in the elliptic-curve setup without revealing the private key?

    1. A

      The private key, the base point GGG, and the curve parameters.

    2. B

      The private key, the public point PPP, and the message hash.

    3. C

      The private key, the signature hash, and the curve order.

    4. D

      The public point PPP, the base point GGG, and the curve parameters.

    Correct answer
    D

    The public point PPP, the base point GGG, and the curve parameters.

    Explanation

    The content says that PPP, GGG, and the curve parameters can be known publicly, while the private key must remain secret.

  40. 40

    Which comparison of key sizes is given for elliptic-curve methods and other public-key methods?

    1. A

      ECC may use about 160 or 256 bits, while other methods may involve thousands of bits.

    2. B

      ECC avoids bit-based key sizes, while RSA uses only a few dozen bits.

    3. C

      ECC and all other methods must use exactly 2,000-bit keys.

    4. D

      ECC may use thousands of bits, while other methods may use about 160 or 256 bits.

    Correct answer
    A

    ECC may use about 160 or 256 bits, while other methods may involve thousands of bits.

    Explanation

    The content contrasts ECC key sizes of around 160 or 256 bits with thousands of bits for the other methods.

  41. 41

    Which statement about the elliptic curves named in the content is correct?

    1. A

      Both curves are discrete-log generators used only for website identification.

    2. B

      Both curves are RSA moduli formed by multiplying two 1,000-bit primes.

    3. C

      Curve 25519 is used in Bitcoin, and secp256k1 uses the prime 2255−192^{255}-192255−19.

    4. D

      Curve 25519 uses the prime 2255−192^{255}-192255−19, and secp256k1 is used in Bitcoin.

    Correct answer
    D

    Curve 25519 uses the prime 2255−192^{255}-192255−19, and secp256k1 is used in Bitcoin.

    Explanation

    The content associates Curve 25519 with the prime 2255−192^{255}-192255−19 and identifies secp256k1 as a curve used in Bitcoin.

  42. 42

    What does ECDSA enable a user to do, according to the content?

    1. A

      Use a public key to generate a private key and decrypt a transaction.

    2. B

      Use a symmetric key to create the curve parameters and the base point.

    3. C

      Use a private key to sign a transaction and derive the corresponding public key.

    4. D

      Use two prime numbers to form an RSA modulus for every signature.

    Correct answer
    C

    Use a private key to sign a transaction and derive the corresponding public key.

    Explanation

    The content describes ECDSA as using a private key to sign and generate the associated public key, without needing to create prime numbers for that process.

  43. 43

    In the Bitcoin transaction example, how does Bob demonstrate control associated with his identity?

    1. A

      He signs the transaction with a symmetric key shared with every network user.

    2. B

      He publishes his private key so others can verify the transaction directly.

    3. C

      He encrypts the transaction with Alice's private key, and others recover Bob's public key.

    4. D

      He signs the transaction with his private key, and others can relate the signature to his public key.

    Correct answer
    D

    He signs the transaction with his private key, and others can relate the signature to his public key.

    Explanation

    The example says Bob signs the transaction with his private key, and the signature can be related to his public key.

  44. 44

    Why does the PGP-style process attach an encrypted hash to the message before encrypting the data?

    1. A

      The encrypted hash allows Bob to avoid using any public-key method.

    2. B

      The encrypted hash serves as Bob's signature, which Alice can later verify.

    3. C

      The encrypted hash replaces the message and acts as Alice's private key.

    4. D

      The encrypted hash makes the message symmetric key publicly readable.

    Correct answer
    B

    The encrypted hash serves as Bob's signature, which Alice can later verify.

    Explanation

    Bob hashes the message and encrypts the hash with his private key; that encrypted hash functions as his signature.

  45. 45

    Why does Bob use symmetric encryption for the combined message and signature in the PGP-style process?

    1. A

      The signature cannot be transmitted unless the message is left unencrypted.

    2. B

      The message hash can only be checked after it is converted into a public key.

    3. C

      Symmetric encryption creates Alice's public key from the message.

    4. D

      The message may be large, and symmetric encryption is used to encrypt the whole payload efficiently.

    Correct answer
    D

    The message may be large, and symmetric encryption is used to encrypt the whole payload efficiently.

    Explanation

    The content uses a symmetric key to encrypt the whole message and signature because the data may be large.

  46. 46

    How is the symmetric key for a PGP-style message protected for Alice?

    1. A

      Bob encrypts the symmetric key with Alice's public key.

    2. B

      Bob encrypts the symmetric key with his public key and sends his private key.

    3. C

      Bob encrypts the symmetric key with Alice's private key.

    4. D

      Bob includes the symmetric key unencrypted inside the message.

    Correct answer
    A

    Bob encrypts the symmetric key with Alice's public key.

    Explanation

    Bob encrypts the message-specific symmetric key with Alice's public key so that Alice can recover it with her private key.

  47. 47

    What does Alice do first to recover the PGP-style message contents?

    1. A

      She uses Bob's public key to decrypt the encrypted symmetric key, then uses that key to decrypt the data.

    2. B

      She uses her private key to decrypt the encrypted symmetric key, then uses that key to decrypt the data.

    3. C

      She uses Bob's private key to decrypt the message signature before opening the data.

    4. D

      She uses her public key to decrypt the data, then asks Bob for the symmetric key.

    Correct answer
    B

    She uses her private key to decrypt the encrypted symmetric key, then uses that key to decrypt the data.

    Explanation

    Alice first recovers the symmetric key using her private key, then uses the symmetric key to decrypt the message and signature.

  48. 48

    After decrypting the PGP-style message, how does Alice verify that the message is intact and signed by Bob?

    1. A

      She hashes Bob's public key, recovers the message with her public key, and compares the keys.

    2. B

      She hashes the message, recovers the signed hash with Bob's public key, and compares the two hashes.

    3. C

      She compares the encrypted message with the encrypted symmetric key.

    4. D

      She encrypts the message with her private key and checks whether Bob's symmetric key matches.

    Correct answer
    B

    She hashes the message, recovers the signed hash with Bob's public key, and compares the two hashes.

    Explanation

    Alice calculates a hash of the decrypted message and uses Bob's public key to recover the hash in his signature. Matching hashes indicate that Bob signed it and that it was not altered in transmission.

  49. 49

    Which sequence best summarizes the PGP-style workflow described?

    1. A

      Encrypt the message symmetrically, publish the symmetric key, and use Alice's public key to sign the ciphertext.

    2. B

      Send the message unencrypted, encrypt its hash with Alice's private key, and derive a symmetric key from Bob's signature.

    3. C

      Sign a message hash, combine it with the message, encrypt the payload symmetrically, and encrypt that symmetric key for Alice.

    4. D

      Encrypt the message with Bob's public key, sign Alice's hash, and send Bob's private key to Alice.

    Correct answer
    C

    Sign a message hash, combine it with the message, encrypt the payload symmetrically, and encrypt that symmetric key for Alice.

    Explanation

    The process combines a private-key signature with symmetric encryption for the data and public-key encryption to protect the message-specific symmetric key.

Question 1 of 49
Question 1 of 49

Ask anything

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

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent