20. RSA Encryption
M
M<n
Public Key (e, n)
‣ Ciphertext C = Me mod n
RSA Decryption
ciphertext C
(d, n)
‣ Message
Private Key
M = Cd mod n
‣ p = 5, q = 7, n = 35, m = 24
Faculty of Information Technology
Page
20
21. n = 35, e = 5
Plaintext
M
Me
Ciphertext = Me mod n
L
12
248832
17
O
15
759375
15
V
22
5153632
22
E
5
3125
10
Faculty of Information Technology
Page
21
22. n = 35, d = 29
Cd
Ciphertext
M= Cd mod n
Plaintext
17
48196857210675091509141182522307000
12
L
15
12783403948858939111232757568359400
15
O
22
8.5164331908653770195619449972111e+38
22
V
5
E
10
Faculty of Information Technology
Page
22