Encrypting a message: private key = (n,d) = (33, 7):

Decrypting a message: public key = (n,e) = (33, 3):

m = 13, 20, 15, 5

13^7 mod 33 = 7

20^7 mod 33 = 26

15^7 mod 33 = 27

5^7 mod 33 = 14

c = 7, 26, 27,14

41

c = 7, 26, 27,14

7^3 mod 33 = 13

26^3 mod 33 = 20

27^3 mod 33 = 15

14^3 mod 33 =5

m = 13, 20, 15, 5