Question: PLEASE WRITE IN PYTHON USING JUPYTER NOTEBOOK Implement the function encryptrSA(message, n, e) which encrypts a string message using RSA key (n=pq,e). You may NOT


PLEASE WRITE IN PYTHON
USING JUPYTER NOTEBOOK
Implement the function encryptrSA(message, n, e) which encrypts a string message using RSA key (n=pq,e). You may NOT use any built-in functions as part of your implementation, but you may use any functions you implemented for previous coding assignments. Please make sure to copy and paste them into this file, so that they are uploaded to CodePost when you submit your pa3.py file. def encryptRSA(message, n, e): "" "encrypts the plaintext message, using RSA and the key (n=pq,e) INPUT: message - plaintext as a string of letters n - a positive integer e - integer satisfying gcd((p1)(q1), e) =1 OUTPUT: The encrypted message as a string of digits "" " pass
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
