Question

Discrete Mathematics - RSA Algorithm and Mod These are problems concerning the RSA algorithm and Modulo. A. In RSA, suppose bob chooses p = 3 and q = 43. Determine one correct value of the public expo...

Discrete Mathematics - RSA Algorithm and Mod

These are problems concerning the RSA algorithm and Modulo.

A. In RSA, suppose bob chooses p = 3 and q = 43. Determine one correct value of the public exponent e, your choice should be the smallest positive integer that is greater than 1. Justify your answer.

B. For the e's value you chose above, compute the corresponding secret exponent d. Show your work.

C. Compute 540Mod13

D. Compute 5-1Mod11

0 0
Add a comment Improve this question Transcribed image text
Answer #1

ANSWER:

• Select two primes p and q.

Here , p=3 and q=43.

• Find n = p*q = 3×43 = 129.

• Calculate f(n) = (p-1)*(q-1) = (3-1)*(43-1) = 2*42 =84.

• Select e such that gcd ( f(n) , e )=1. ; 1 < e < f(n)

Let e=25.

• Calculate d such that (d.e)mod f(n) = 1.

• Use Euclid's algorithm to find d=e-1 mod f(n)

• Use 84k+1 = 169 , 253 , 337 , 421 , 505 , 589 , 673 , 757 , 841 , 925 ,.....

• Check which of the above is divisible by 25.

• 925 is divisible by 25 giving d=925/25 = 37.

Thus , e =25 and d=37

Therefore, key 1 = { 25,129} and key 2 ={ 37, 129}.

Verification :

We know that ,

If C = pe mod n then , P = Cd mod n.

Here , p = 3 , e =25 and n=129

Then C = 325 mod 129 = 48.

Now , Let us find Cd mod n and this should give out p=3 again.

we have , C=48 , d=37 and n=129.

Then , 4837 mod 129 = 3 (=p).   hence verified!

C : 540 mod 13 = 7.

Add a comment
Know the answer?
Add Answer to:
Discrete Mathematics - RSA Algorithm and Mod These are problems concerning the RSA algorithm and Modulo. A. In RSA, suppose bob chooses p = 3 and q = 43. Determine one correct value of the public expo...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT