Choose two prime numbers p and q (these are your inputs). Suppose that you need to send a message to your friend, and you implement the RSA algorithm for secure key generation. You need public and private keys (these are your outputs). You are free to choose other parameters or inputs if you need any. Write a program for the RSA algorithm using any programing language you know to generate your public and private key. The program may also show a message for any wrong inputs such as "you entered a number, which is not a prime".

Respuesta :

Answer:

Answer is attached in the doc file

Explanation:

The explanation is given in the file attached.

The screenshot of the output is attached.

Ver imagen mahamnasir
Ver imagen mahamnasir