Question: Write a C/C++ program to implement RSA trapdoor permutation. Your program should do the following. The program can be very simple. You can hard code
Write a C/C++ program to implement RSA trapdoor permutation. Your program should do the following.
The program can be very simple. You can hard code any part of it to make it work.

Write a CVC++ 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 e, For and output the result your program should execute the RSA operation with public a given plain text input, key 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
