Prime Numbers in CS
- 22Unfamiliar
- 0Learning
- 0Familiar
- 0Mastered
22 questions
- 1The 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
- 2The 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
- 3The 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
- 4The 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
- 5RSA 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
- 6HTTPS, 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
- 7The 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
- 8When 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
- 9The 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
- 10In 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
- 11The 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
- 12The 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
- 13In 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
- 14For 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
- 15The '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
- 16To 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
- 17The encryption value 'e' (5 in the example) and the decryption value 'd' (29 in the example) are related such that their product, e×d, equals 1 on the_____-hour clock.
Hint
This is the 'different clock' derived from (p-1)(q-1).
Answer
72
- 18The 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
- 19Fermat'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
- 20The 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
- 21The 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
- 22In 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

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