1. Home
  2. Explore
  3. Computer Science
  4. Prime Numbers in CS

Study methods

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

Prime Numbers in CS

  • 22Unfamiliar
  • 0Learning
  • 0Familiar
  • 0Mastered
Topic: Prime Numbers in CS
The difficulty in finding prime factors, rather than just determining if a number is prime, is a core concept that makes prime numbers interesting for
science.

22 questions

  1. 1
    The difficulty in finding prime factors, rather than just determining if a number is prime, is a core concept that makes prime numbers interesting for
    _____
    science.
    Hint

    Consider the field where algorithms and computational complexity are central.

    Answer

    computer

  2. 2
    The primary application of prime numbers in computer science is within the field of
    _____
    .
    Hint

    This field deals with secure communication and protecting information.

    Answer

    cryptography

  3. 3
    The Diffie-Hellman key exchange is one example of a cryptographic method that utilizes
    _____
    numbers.
    Hint

    This is the fundamental type of number being discussed throughout the segment.

    Answer

    prime

  4. 4
    The RSA algorithm is a significant application that is heavily based on
    _____
    numbers and stands for Rivest, Shamir, and Adelman.
    Hint

    Think about the specific type of number the entire discussion revolves around.

    Answer

    prime

  5. 5
    RSA falls under the general class of cryptography known as
    _____
    key cryptography.
    Hint

    This type of cryptography involves separate keys for encryption and decryption, one of which is widely shared.

    Answer

    public

  6. 6
    HTTPS, which is crucial for internet security, is built upon
    _____
    key cryptography technology.
    Hint

    This secure web protocol relies on the same cryptographic class as RSA.

    Answer

    public

  7. 7
    The two main algorithms used for public key cryptography implementation are RSA and
    _____
    curve cryptography.
    Hint

    The alternative algorithm to RSA, mentioned as a competing method.

    Answer

    elliptic

  8. 8
    When viewing a website's security certificate, the public key info section often specifies that the algorithm used is
    _____
    .
    Hint

    This is the name of the algorithm based on prime numbers discussed in the demonstration.

    Answer

    RSA

  9. 9
    The modulus number displayed in a security certificate for RSA is not a prime number itself, but rather the product of two very large
    _____
    numbers.
    Hint

    This large number is the result of multiplying two specific types of numbers together.

    Answer

    prime

  10. 10
    In the example provided, the modulus was a 600-digit decimal number formed by the product of two 300-digit
    _____
    numbers.
    Hint

    Think about the foundational numbers for RSA.

    Answer

    prime

  11. 11
    The security of RSA relies on the fact that it is extremely difficult for an unauthorized party to find the two
    _____
    prime numbers that form the modulus.
    Hint

    Consider the size and type of numbers that are kept secret.

    Answer

    large

  12. 12
    The concept of modular arithmetic, similar to how an analog clock works, involves finding the
    _____
    after division.
    Hint

    When you have 15 hours on a 12-hour clock, you look for what's left after a full cycle.

    Answer

    remainder

  13. 13
    In modular arithmetic, operations are performed on a 'clock' based on a specific
    _____
    .
    Hint

    This is the number that defines the cycle length, like 12 for a 12-hour clock.

    Answer

    modulus

  14. 14
    For RSA, a 'clock' based on a 91-hour cycle is used as an example, where 91 is the product of two
    _____
    numbers, 7 and 13.
    Hint

    These are the fundamental building blocks of the modulus in RSA.

    Answer

    prime

  15. 15
    The 'magic number' 29, which reverses the operation of raising to the fifth power on a 91-hour clock, is called the
    _____
    value.
    Hint

    This value allows you to retrieve the original message, making it secret.

    Answer

    decryption

  16. 16
    To find the magic number 29, a different clock is constructed by multiplying (p-1) and (q-1), where p and q are the original
    _____
    factors.
    Hint

    These are the foundational numbers that create the modulus.

    Answer

    prime

  17. 17
    The encryption value 'e' (5 in the example) and the decryption value 'd' (29 in the example) are related such that their product, e×de \times de×d, equals 1 on the
    _____
    -hour clock.
    Hint

    This is the 'different clock' derived from (p-1)(q-1).

    Answer

    72

  18. 18
    The extended Euclidean algorithm is used by computers to quickly find the decryption value 'd' in
    _____
    arithmetic.
    Hint

    This algorithm helps find inverses in the type of arithmetic being discussed.

    Answer

    modular

  19. 19
    Fermat's
    _____
    Theorem is applied to deduce how the encryption and decryption operations cancel each other out in RSA.
    Hint

    This theorem is named after a famous mathematician and is used in number theory.

    Answer

    Little

  20. 20
    The security of RSA hinges on the fact that an attacker cannot find the 72-hour clock's modulus because they don't know the original
    _____
    factors of the public modulus.
    Hint

    This refers to the secret numbers p and q.

    Answer

    prime

  21. 21
    The University of Nottingham, as an example, multiplies two very large
    _____
    prime numbers to get the public modulus, then 'forgets' the original prime numbers.
    Hint

    Think about the scale of the prime numbers used to generate the modulus.

    Answer

    300-digit

  22. 22
    In a real-world RSA application, users will see the public modulus (p times q) and the encryption value 'e', but not the secret
    _____
    value 'd'.
    Hint

    This is the 'other magic value' that remains hidden.

    Answer

    decryption

1 of 22
Question 1 of 22

Ask anything

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

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent