Applied Cryptography
In RSA, let the public key be n = 55 and e = 3. Which of the following is the ciphertext c when the plaintext m = 7 is encrypted as c = m^e mod n?
- A13
- B21
- C23
Show answer and explanation
Answer: A. 13
7³ = 343, and 343 = 6 × 55 + 13, so c = 13. The private exponent for this public key is d = 27 (with p = 5, q = 11 and φ(n) = 40, 3 × 27 ≡ 1), and computing 13^27 mod 55 gives back the original plaintext 7. Encryption needs only the public key, but decryption requires d.
- A. Correct. 343 mod 55 = 13.
- B. 21 is 7 × 3, the value obtained by multiplying instead of raising to a power.
- C. 23 is the remainder of 343 divided by φ(n) = 40. The modulus for encryption is n = 55.