4.3 - Rsa
4.3 - Rsa
RSA CRYPTOSYSTEM
❑ The most common public-key
algorithm is the RSA cryptosystem,
named for its inventors (Rivest,
Shamir, and Adleman).
RSA CRYPTOSYSTEM
RSA CRYPTOSYSTEM
RSA CRYPTOSYSTEM
RSA CRYPTOSYSTEM
❑ Encryption:
RSA CRYPTOSYSTEM
❑ Decryption:
RSA Example
❑ Bob chooses 7 and 11 as p and q and calculates n = 77. The
value of (n) = (7 − 1)(11 − 1) or 60. Now he chooses two
exponents, e and d, from Z60∗. If he chooses e to be 13, then d
is 37. Note that e × d mod 60 = 1 (they are inverses of each
Now imagine that Alice wants to send the plaintext 5 to Bob.
She uses the public exponent 13 to encrypt 5.