write a python program to perform encryption and decryption …

Write a python program to perform encryption and decryption using the RSA algorithm. Assume that the data to be encrypted or decryptedis given as integers. Save your program as 531/lab8/lab8.py on 243 lab. Capture the execution output on 243 lab. Make sure you document your program properly and use the following data to test your program.

a. p=3 q=11 e=7 M=5

b. p=5 q=11 e=3 M=9

c. p=7 q= 11 e= 17 M=8

d. p= 11 q =13 e=11 M=7

e. p=17 q=31 e=7 M=2

 

"Is this question part of your assignment? We Can Help!"