Exercise · ZW-RSA-CRYPTOSYSTEM-006 · ★★☆ Intermediate

With p = 3, q = 11 and e = 3, find d such that 3d ≡ 1 (mod 20).

Choose one option.

Show answer
  • A. 7

Explanation

Since 3·7 = 21 ≡ 1 (mod 20), the inverse is 7. The value 13 gives 3·13 = 39 ≡ 19 (mod 20), not 1.

Study Elementary number theory in ZWMath →

Review the concept: RSA cryptosystem

The RSA cryptosystem is a public-key encryption method based on the difficulty of factoring the product of two large primes. It uses Euler's theorem and modular inverses to encrypt and decrypt messages.

\[c \equiv m^{e} \pmod{n}, \quad m \equiv c^{d} \pmod{n}\]

More practice problems: rsa cryptosystem

← ZW-RSA-CRYPTOSYSTEM-005 ZW-RSA-CRYPTOSYSTEM-007 →