Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Q6. (17 points). RSA encrypt and decrypt back the plaintext, M=3, if p=7, q=13. Give necessary explanations Hints: C=Me mod N; M=Cd mod N; N=p*q;

image text in transcribed

Q6. (17 points). RSA encrypt and decrypt back the plaintext, M=3, if p=7, q=13. Give necessary explanations Hints: C=Me mod N; M=Cd mod N; N=p*q; e*d=1 mod (p-1)(0-1) EXTENDED EUCLID(m,b)//finds b-1 mod m 1. (A1,A2,A3):=(1,0,m); (B1,B2,B3):=(0,1,b); 2. if B3=0 return A3=gcd(m,b); no inverse 3. if B3=1 return B3 = ged(m,b); B2=b-?mod m A3 4. Q= B3 5. (T1,12,13):=(Al-Q*B1, A2-Q*B2, A3-Q*B3) 6. (A1,A2,A3):= (B1,B2,B3) 7. (B1,B2,B3):= (T1,12,13) 8. goto 2

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions