Question: Write a C/C++ program to implement RSA trapdoor permutation. Your program should do the following Write a C/C + + program to implement RSA trapdoor
Write a C/C++ program to implement RSA trapdoor permutation. Your program should do the following

Write a C/C + + program to implement RSA trapdoor permutation. Your program should do the following a. Implement a routine/function to generate RSA key pair(public key and secret key). You are free to use any method for generating the keys b. Implement the functionality for RSA and RSA inverse operations c. For a given plain text input, your program should execute the RSA operation with public key and output the result d. Given the output of RSA operation(from step-c above), your program should execute the RSA inverse operation with the secret key and output the original plain text
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
