RSA Encryption Problem: Finding d Using Euclidean Algorithm

  • Thread starter Thread starter muso07
  • Start date Start date
  • Tags Tags
    Encryption
Click For Summary
SUMMARY

The RSA encryption problem involves calculating the multiplicative inverse d of e=3 modulo (p-1)(q-1)=17680, where p=137 and q=131. The correct value of d is found using the extended Euclidean algorithm, yielding d=11787. This result is derived from the equation 1 = 17680 - 5893(3), confirming that d can be expressed as -5893 mod 17680, which simplifies to 11787. For further understanding, refer to Lindsay Childs' "A Concrete Introduction to Higher Algebra" for detailed RSA explanations.

PREREQUISITES
  • Understanding of RSA encryption fundamentals
  • Familiarity with the Euclidean algorithm
  • Knowledge of modular arithmetic
  • Basic concepts of prime numbers
NEXT STEPS
  • Study the Extended Euclidean Algorithm in detail
  • Learn about modular inverses in cryptography
  • Explore the RSA encryption and decryption process
  • Read Lindsay Childs' "A Concrete Introduction to Higher Algebra" for deeper insights
USEFUL FOR

Students studying cryptography, mathematicians interested in number theory, and anyone looking to understand RSA encryption mechanics.

muso07
Messages
53
Reaction score
0

Homework Statement


This is a problem my lecturer did in class but I'm a bit confused.

We have 2 large primes p=137 and q=131, choose e = 3
n = pq = 137.131 = 17947
(p-1)(q-1) = 136.130 = 17680

Compute d = e-1 mod (p-1)(q-1) = 3-1 mod 17680 = 11787.

This is where I'm confused. How did he get d=11787?

Homework Equations

The Attempt at a Solution


I think I'm supposed to use the Euclidean algorithm to find d, but he didn't show how.
 
Last edited:
Physics news on Phys.org
for d to be the multiplicative inverse of 3 mod 17680 you need 3*d = 1 mod 17680; there will be a unique positive d < 17680 for which this is true, and this d can be found using the extended euclidean algorithm. the following page will be helpful:
http://www-math.cudenver.edu/~wcherowi/courses/m5410/exeucalg.html

for your problem you will start
17680 = 5893(3) + 1
and the euclidean algorithm terminates quickly because
3 = 3(1) + 0
rearranging the line above you get
1 = 17680 - 5893(3)
so you know that d = -5893, which is 11787 mod 17680.
 
Last edited by a moderator:
Lindsay Childs in "A Concrete Introduction to Higher Algebra" deals with RSA details if you need more information.
 

Similar threads

  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 2 ·
Replies
2
Views
1K
Replies
6
Views
2K
Replies
8
Views
4K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 16 ·
Replies
16
Views
3K