Using โ€˜RSAโ€™ public key cryptosystem, if ๐‘=3, ๐‘ž=11 and ๐‘‘=7, find the valueโ€ฆ

2020

Using โ€˜RSAโ€™ public key cryptosystem, ifย ๐‘=3,ย ๐‘ž=11ย andย ๐‘‘=7, find the value ofย ๐‘’ย and encrypt the numberย โ€™19โ€™.

Answer: C. 3, 28 โ€” Compute n and ฯ†(n): n = p ร— q = 3 ร— 11 = 33. ฯ†(n) = (pโˆ’1)(qโˆ’1) = 2 ร— 10 = 20. Find the public exponent e: e must satisfy e ยท d โ‰ก 1 (mod ฯ†(n)), so solve 7 ยท eโ€ฆ

  1. A.

    20, 19

  2. B.

    33, 11

  3. C.

    3, 28

  4. D.

    77, 28

Attempted by 109 students.

Show answer & explanation

Correct answer: C

Compute n and ฯ†(n): n = p ร— q = 3 ร— 11 = 33. ฯ†(n) = (pโˆ’1)(qโˆ’1) = 2 ร— 10 = 20.

Find the public exponent e:

  • e must satisfy e ยท d โ‰ก 1 (mod ฯ†(n)), so solve 7 ยท e โ‰ก 1 (mod 20).

  • Try e = 3: 7 ยท 3 = 21 โ‰ก 1 (mod 20), therefore e = 3.

Encrypt the message m = 19:

  • Compute 19^2 = 361 โ‰ก 31 (mod 33).

  • Then 19^3 = 19^2 ร— 19 โ‰ก 31 ร— 19 = 589 โ‰ก 28 (mod 33).

  • So the ciphertext c = 28.

Answer: Public exponent e = 3 and ciphertext = 28.

A video solution is available for this question โ€” log in and enroll to watch it.

Explore the full course: Nta Ugc Net Paper 2

Loading lessonโ€ฆ