Question: For part ( c ) . Your program should : ( i ) Take three integers, e , n ( the public key for RSA
For part c Your program should : i Take three integers, e n the public key for RSA and m the number of characters in the message as input to your program. Next, input the ciphertext. ii Test whether the public key is valid. If not, output a single line Public key is not valid! and quit the program. iv If the public key is valid, decode the message. v Output p and qn and dvi On a new line, output the decoded message in integers
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
