Current location - Training Enrollment Network - Mathematics courses - The mathematical formula in RSA algorithm is incomprehensible. I want to ask you how to find the E inverse of D = E- 10 19(mod 3220). Please take a look at it for me.
The mathematical formula in RSA algorithm is incomprehensible. I want to ask you how to find the E inverse of D = E- 10 19(mod 3220). Please take a look at it for me.
The reciprocal of e can be calculated according to division by turns or Euclid theorem.

3220=79*40+60

79=60* 1+ 19

60= 19*3+3

19=3*6+ 1

1= 19* 19-60*6=(79-60)* 19-60*6=79* 19-60* 19-60*6=79* 19-60*25=79* 19-(3220-79*40)*25=79* 19-3220+79*40*25= 10 19*79-3220

So the reciprocal of 79 mod 3220 is 10 19.