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

  • 72Unfamiliar
  • 0Learning
  • 0Familiar
  • 0Mastered
Topic: Foundations
The 1976 paper by Diffie and Hellman laid the foundations for public-key encryption by proposing a method for
.

72 questions

  1. 1
    The 1976 paper by Diffie and Hellman laid the foundations for public-key encryption by proposing a method for
    _____
    .
    Hint

    Think about the problem of establishing a shared key between two parties.

    Answer

    key exchange

  2. 2
    Rivest, Shamir, and Adleman introduced the RSA method in
    _____
    .
    Hint

    It followed Diffie and Hellman's 1976 paper by one year.

    Answer

    1977

  3. 3
    A public-key trapdoor method is designed so that knowing a
    _____
    makes a difficult problem easy to solve.
    Hint

    This is information that the key's owner keeps private.

    Answer

    secret

  4. 4
    In a difficult problem used for public-key encryption, solving it without the secret is computationally expensive and cannot be done in a reasonable
    _____
    .
    Hint

    This describes how long a computation takes.

    Answer

    time

  5. 5
    A public-key system gives each user a key pair consisting of a private key and a
    _____
    .
    Hint

    This is the part of the pair that can be shared with other people.

    Answer

    public key

  6. 6
    In Bob's key pair, the key he can share with everyone is his
    _____
    .
    Hint

    Its name indicates that it can be made available publicly.

    Answer

    public key

  7. 7
    The three main public-key puzzle families discussed are integer factorization, discrete logs, and
    _____
    .
    Hint

    This family uses points and operations defined on a curve.

    Answer

    elliptic curve methods

  8. 8
    The difficult problem underlying RSA is finding the two prime factors of a given
    _____
    .
    Hint

    RSA creates this value by multiplying two prime numbers.

    Answer

    modulus

  9. 9
    In a discrete-log system, a public value can be formed as y=gx(modp)y = g^x \pmod{p}y=gx(modp), and the difficult task is to recover
    _____
    .
    Hint

    This is the secret exponent in the expression.

    Answer

    xxx

  10. 10
    In the discrete-log example, the generator ggg may be a small value such as 2, 3, or 5, while ppp is a large
    _____
    .
    Hint

    The modulus is described as a prime with a size of thousands of bits.

    Answer

    prime number

  11. 11
    The discrete-log method is described as being used less often because it is becoming more computationally
    _____
    .
    Hint

    The method is increasingly challenging for computers to use or solve.

    Answer

    difficult

  12. 12
    The RSA method is typically used in identifying
    _____
    .
    Hint

    These are the online destinations a browser connects to.

    Answer

    websites

  13. 13
    The ElGamal method is still used in connection with
    _____
    .
    Hint

    These provide a way to verify that a message was signed by a particular key holder.

    Answer

    digital signatures

  14. 14
    Public-key encryption has three main uses: encryption, key exchange, and proof of
    _____
    .
    Hint

    This use lets someone demonstrate who signed a message.

    Answer

    identity

  15. 15
    To encrypt data intended for Alice, Bob uses
    _____
    .
    Hint

    The sender uses the recipient's shareable key.

    Answer

    Alice's public key

  16. 16
    After data encrypted for Alice arrives, she uses her
    _____
    to decrypt it.
    Hint

    This is the secret part of her key pair.

    Answer

    private key

  17. 17
    Because public-key operations can be computationally difficult, they are typically not used to encrypt
    _____
    amounts of data.
    Hint

    Bulk data encryption is generally handled another way.

    Answer

    large

  18. 18
    To establish a key for later communication, Bob can encrypt a shared symmetric key using
    _____
    .
    Hint

    The key is sent securely to Alice using the public part of her key pair.

    Answer

    Alice's public key

  19. 19
    When Bob signs a message to prove his identity, he encrypts a hash of the message with his
    _____
    .
    Hint

    A signature is created with a key only Bob should control.

    Answer

    private key

  20. 20
    To check Bob's signature, Alice compares the hash she creates from the message with the hash recovered using
    _____
    .
    Hint

    This is the public counterpart to the key Bob used to sign.

    Answer

    Bob's public key

  21. 21
    A digital certificate is signed by a
    _____
    and contains keys that users require.
    Hint

    This is an organization or party that the certificate users trust.

    Answer

    trusted entity

  22. 22
    A secret digital certificate can contain both the private key and the
    _____
    .
    Hint

    This is the shareable counterpart to the private key.

    Answer

    public key

  23. 23
    For distribution, a certificate is typically exported in a form containing only the
    _____
    .
    Hint

    The distributable certificate should not expose the secret part of the key pair.

    Answer

    public key

  24. 24
    If Trent is trusted by both Bob and Alice, Alice can check that Bob's certificate was signed by
    _____
    .
    Hint

    This is the trusted entity whose signature Alice verifies.

    Answer

    Trent

  25. 25
    Instead of requesting public keys repeatedly, Alice can store keys she may use in a
    _____
    .
    Hint

    It is a collection of keys kept for convenient access.

    Answer

    key ring

  26. 26
    If Alice keeps her own private key on a key ring, the key ring must be kept
    _____
    .
    Hint

    The private key must remain protected from unauthorized access.

    Answer

    secure

  27. 27
    RSA begins with two prime numbers, ppp and qqq, and forms the modulus nnn using $n =
    _____
    $.
    Hint

    The modulus is the product of the two primes.

    Answer

    pqpqpq

  28. 28
    The RSA factoring problem is difficult when the prime factors ppp and qqq are
    _____
    .
    Hint

    The content describes each prime as potentially having thousands of bits.

    Answer

    large

  29. 29
    Using two thousand-bit primes produces a modulus of about four thousand bits, which the content calls
    _____
    RSA.
    Hint

    The label refers to the approximate bit size of each prime.

    Answer

    2K

  30. 30
    RSA encryption raises a message to the power of the encryption key and then takes the result
    _____
    .
    Hint

    The operation keeps the remainder after division by the modulus.

    Answer

    modulo nnn

  31. 31
    To decrypt an RSA cipher, the recipient raises it to the power of
    _____
    and takes the result modulo nnn.
    Hint

    This is the decryption exponent paired with the encryption exponent.

    Answer

    ddd

  32. 32
    In modular arithmetic, taking a value modulo nnn means keeping the
    _____
    after division by nnn.
    Hint

    It is what is left over after dividing one integer by another.

    Answer

    remainder

  33. 33
    RSA calculates the value called PHI using $\mathrm{PHI} =
    _____
    $.
    Hint

    Subtract one from each prime and multiply the results.

    Answer

    (p−1)(q−1)(p-1)(q-1)(p−1)(q−1)

  34. 34
    The RSA encryption exponent eee is chosen so that its greatest common divisor with PHI is
    _____
    .
    Hint

    This means eee and PHI share no factor greater than one.

    Answer

    111

  35. 35
    The RSA decryption exponent ddd is chosen to satisfy $de \bmod \mathrm{PHI} =
    _____
    $.
    Hint

    Multiplying the paired exponents and reducing modulo PHI gives this value.

    Answer

    111

  36. 36
    In the RSA example with p=3p=3p=3 and q=11q=11q=11, the modulus nnn is
    _____
    .
    Hint

    Multiply the two given primes.

    Answer

    333333

  37. 37
    For the RSA example with p=3p=3p=3 and q=11q=11q=11, PHI is
    _____
    .
    Hint

    Calculate (p−1)(q−1)(p-1)(q-1)(p−1)(q−1).

    Answer

    202020

  38. 38
    In the example with PHI equal to 20, the encryption exponent is chosen as $e =
    _____
    $.
    Hint

    It must share no factor with 20 other than 1.

    Answer

    333

  39. 39
    For the example with e=3e=3e=3 and PHI equal to 20, the decryption exponent is $d =
    _____
    $.
    Hint

    Check which value makes dedede leave a remainder of 1 when divided by 20.

    Answer

    777

  40. 40
    In the example, the RSA encryption key is the pair $(e,n)=
    _____
    $.
    Hint

    Use the chosen encryption exponent and the modulus.

    Answer

    (3,33)(3,33)(3,33)

  41. 41
    In the example, the RSA decryption key is the pair $(d,n)=
    _____
    $.
    Hint

    Use the calculated decryption exponent and the same modulus.

    Answer

    (7,33)(7,33)(7,33)

  42. 42
    An elliptic curve equation presented in the content is y2=x3+ax+b(modp)y^2 = x^3 + ax + b \pmod{p}y2=x3+ax+b(modp), where ppp is a prime number; the modular operation keeps the curve computations to
    _____
    values.
    Hint

    These are whole-number values rather than points on a continuous curve.

    Answer

    integer

  43. 43
    When points are added using elliptic-curve operations, the result is another
    _____
    .
    Hint

    The operation preserves membership in the same curve.

    Answer

    point on the elliptic curve

  44. 44
    The basic elliptic-curve parameters include aaa, bbb, the prime number ppp, the order nnn, and the
    _____
    .
    Hint

    This point acts like the starting point for curve operations.

    Answer

    base point GGG

  45. 45
    The number of points that can be used on an elliptic curve is called its
    _____
    .
    Hint

    This parameter is represented by nnn in the content.

    Answer

    order

  46. 46
    In elliptic-curve operations, the base point GGG serves as a known
    _____
    point.
    Hint

    Both Bob and Alice know this point, and operations build from it.

    Answer

    starting

  47. 47
    Curve 25519 uses a prime number of 2255−192^{255-19}2255−19, while another common curve,
    _____
    is used in Bitcoin transactions.
    Hint

    Its name begins with the letters “secp” and ends in “k1.”

    Answer

    secp256k1

  48. 48
    Compared with methods that may require thousands of bits, elliptic-curve methods can use about
    _____
    or 256 bits.
    Hint

    The content gives two smaller example sizes for elliptic-curve methods.

    Answer

    160 bits

  49. 49
    Compared with integer-factorization and discrete-log approaches, elliptic-curve methods are described as more
    _____
    in their use of key sizes.
    Hint

    They can achieve performance with smaller bit sizes.

    Answer

    efficient

  50. 50
    The content warns that RSA, discrete-log, and elliptic-curve methods are all at risk from
    _____
    .
    Hint

    These machines could make the methods' hard problems easier to solve.

    Answer

    quantum computers

  51. 51
    Because of the risk from quantum computers, the content says we may eventually need to move away from
    _____
    .
    Hint

    This refers to the public-key approaches discussed, including RSA and elliptic-curve methods.

    Answer

    these methods

  52. 52
    In the elliptic-curve key setup described, the private key is a secret value represented by
    _____
    .
    Hint

    It is the scalar used to multiply the base point.

    Answer

    nnn

  53. 53
    An elliptic-curve public key is calculated from the private key and base point using $P =
    _____
    $.
    Hint

    Multiply the base point by the private scalar.

    Answer

    nGnGnG

  54. 54
    The expression P=nGP=nGP=nG means that the base point GGG is added to itself
    _____
    times.
    Hint

    The number of repeated additions is the private scalar.

    Answer

    nnn

  55. 55
    In the elliptic-curve setup, the public key PPP, base point GGG, and curve parameters may be known publicly, but the
    _____
    must remain secret.
    Hint

    This is the scalar used to produce the public key.

    Answer

    private key

  56. 56
    ECDSA is the abbreviation for the
    _____
    .
    Hint

    The name describes an elliptic-curve method for creating signatures.

    Answer

    EC digital signature algorithm

  57. 57
    ECDSA uses a private key to sign a transaction and produce a
    _____
    .
    Hint

    This is used to verify that the transaction was authorized by the key holder.

    Answer

    digital signature

  58. 58
    The content says elliptic-curve signing avoids creating prime numbers and instead uses a
    _____
    to create a public key.
    Hint

    It is generated unpredictably and used in the key-generation process described.

    Answer

    random number

  59. 59
    In the Bitcoin transaction example, Bob signs the transaction with his
    _____
    .
    Hint

    Only Bob should control the key used to authorize his transaction.

    Answer

    private key

  60. 60
    The content also names
    _____
    as Elliptic Curve Diffie Hellman.
    Hint

    This is the abbreviation given for the elliptic-curve Diffie–Hellman method.

    Answer

    ECDH

  61. 61
    In the PGP example, Bob first computes a
    _____
    of the message data.
    Hint

    This is a compact value derived from the message and later used to check it.

    Answer

    hash

  62. 62
    Bob creates the signed hash in the PGP example by encrypting the hash with his
    _____
    .
    Hint

    The signing operation uses the secret part of Bob's key pair.

    Answer

    private key

  63. 63
    After creating the signature, Bob attaches the encrypted hash to the
    _____
    .
    Hint

    The signature is sent together with the content it authenticates.

    Answer

    message

  64. 64
    Because the message and signature may be large, Bob encrypts the combined content using
    _____
    encryption.
    Hint

    This method is used for efficiently encrypting the bulk data.

    Answer

    symmetric key

  65. 65
    For the PGP message, Bob creates a new
    _____
    especially for that message.
    Hint

    It encrypts the combined message and signature.

    Answer

    symmetric key

  66. 66
    Bob encrypts the new symmetric key with
    _____
    before sending the package to Alice.
    Hint

    This lets Alice recover the key using the private counterpart.

    Answer

    Alice's public key

  67. 67
    The PGP package sent to Alice contains the encrypted message and the
    _____
    .
    Hint

    Alice needs this protected key to unlock the message.

    Answer

    encrypted symmetric key

  68. 68
    Alice uses her private key to recover the
    _____
    from the encrypted key sent by Bob.
    Hint

    This is the key Bob used to encrypt the message and signature.

    Answer

    symmetric key

  69. 69
    After recovering the symmetric key, Alice uses it to decrypt the
    _____
    .
    Hint

    It contains the original data and Bob's attached signature.

    Answer

    message

  70. 70
    After reading the message, Alice computes her own
    _____
    of the message data.
    Hint

    She creates the same kind of compact value Bob signed.

    Answer

    hash

  71. 71
    Alice uses
    _____
    to decrypt Bob's signed hash and recover the hash Bob created.
    Hint

    It is the public counterpart to the private key Bob used to sign.

    Answer

    Bob's public key

  72. 72
    If Alice's hash matches the hash recovered from Bob's signature, she knows Bob signed the message and that it was not
    _____
    in transmission.
    Hint

    A matching hash indicates that the message content remained the same.

    Answer

    changed

1 of 72
Question 1 of 72

Ask anything

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

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent