Questions: The RSA Cryptosystem

5 questions to test your understanding

Score: 0 / 5
Question 1 Short Answer

Why does 'textbook RSA' — computing c = m^e mod n directly without padding — fail to achieve semantic security?

Think about your answer, then reveal below.
Question 2 Multiple Choice

RSA key generation requires finding two large primes p and q. Primality testing algorithms like Miller-Rabin are probabilistic. A student worries: what if the algorithm falsely certifies a composite as prime?

AThis cannot happen — Miller-Rabin is deterministic for numbers used in RSA
BIf n = pq where p or q is composite, RSA decryption may fail on some messages and the key is functionally broken. However, the probability of Miller-Rabin giving a false positive after k rounds is at most 4^(-k), so with k = 64 rounds the risk is negligible (less than 2^(-128))
CComposite factors actually make RSA more secure because factoring becomes harder
DThe Chinese Remainder Theorem corrects for any composite factors during decryption
Question 3 True / False

An attacker knows the RSA public key (n, e) and wants to compute the private key d. Finding d is computationally equivalent to factoring n.

TTrue
FFalse
Question 4 Multiple Choice

RSA with a 2048-bit modulus n is considered secure today. Why is doubling the key length to 4096 bits more than doubling the security?

ALonger keys use more rounds of encryption, adding security multiplicatively
BThe best known factoring algorithm (General Number Field Sieve) has sub-exponential but super-polynomial runtime in the bit length of n. Doubling the bit length more than doubles the exponent in the runtime expression, providing a super-linear security increase
C4096-bit keys are exactly twice as secure as 2048-bit keys
DLonger keys enable more padding, which adds independent security
Question 5 Short Answer

For RSA signatures, the signer computes s = H(m)^d mod n and the verifier checks that s^e mod n equals H(m). Why is hashing the message before signing essential?

Think about your answer, then reveal below.