I How Does the Equation D x E mod Φ(N) = 1 Relate to RSA Encryption?

  • Thread starter Thread starter brajesh
  • Start date Start date
  • Tags Tags
    Mathematics
Click For Summary
RSA encryption relies on the relationship between the encoding key (E), decoding key (D), and the totient function (Φ(N)). The equation D x E mod Φ(N) = 1 indicates that D and E are multiplicative inverses modulo Φ(N), which is crucial for the encryption and decryption process. Understanding this relationship helps in determining D once E is chosen, ensuring that the decryption process correctly retrieves the original plaintext message (M) from the encrypted message (C). The discussion highlights the importance of the totient function in RSA and suggests that additional resources, like Wikipedia and online calculators, can aid in grasping these concepts. Mastery of these equations is essential for a complete understanding of RSA encryption.
brajesh
Messages
62
Reaction score
15
TL;DR
Understanding the RSA mathematics
Please help me understand the RSA encryption.
I understand part of it, then I don't understand.

Definitions:

M=plain text message
C=encrypted message
N=public key
E=encoding key
D=decoding key
P,Q are prime factors on N

I get that
P x Q = N (where P and Q are primes).

I get that

Φ(N) = (P-1) x (Q-1)

I get that

MEmodN = C

I get that

CDmodN = M

But after this I don't understand the relevance of this equation to solve D and E

D x E mod Φ(N) = 1

Seems to be some step or something obvious I'm missing?
 
Mathematics news on Phys.org
Thread 'Erroneously  finding discrepancy in transpose rule'
Obviously, there is something elementary I am missing here. To form the transpose of a matrix, one exchanges rows and columns, so the transpose of a scalar, considered as (or isomorphic to) a one-entry matrix, should stay the same, including if the scalar is a complex number. On the other hand, in the isomorphism between the complex plane and the real plane, a complex number a+bi corresponds to a matrix in the real plane; taking the transpose we get which then corresponds to a-bi...

Similar threads

Replies
8
Views
3K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 1 ·
Replies
1
Views
935
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 7 ·
Replies
7
Views
2K
Replies
12
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K