Question: Consider the following scheme by which Bob encrypts a message for Alice. - Alice chooses two large primes P and Q that are also relatively

Consider the following scheme by which Bob encrypts a message for Alice. - Alice chooses two large primes P and Q that are also relatively prime to (PI) and (Q1) Alice publishes N=PQ as its public key [ Alice then calculates P4 and Q in such way that PPl(modQ1) and QQ1l(modP1) B Bob encrypts message M as C=MvmodN, here C is the Cipher Text and M is the Plaintext Message Now, write down the program (in CJava) that will encrypt a Message (numeric number) following the above scheme. Also, find how Alice will decrypt the Plaintext Message M and write the program (in C/lava)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
