Verifying the Decoder in RSA System: Solving for M

  • Thread starter Thread starter ribbon
  • Start date Start date
  • Tags Tags
    Decoder System
Click For Summary
SUMMARY

The discussion focuses on verifying the decoder in an RSA system with parameters p = 5, q = 7, and E = 5. The task is to decode an encoded message of 17 using the provided decoder D = 5. The calculations confirm that N = 35 and the relationship M^E ≡ R (mod 35) is established. To validate D, it is essential to check that ED ≡ 1 (mod φ(N)), where φ(N) is the totient function.

PREREQUISITES
  • Understanding of RSA encryption and decryption processes
  • Knowledge of modular arithmetic
  • Familiarity with the totient function φ(N)
  • Basic algebra for solving congruences
NEXT STEPS
  • Study the RSA algorithm in detail, including key generation and encryption/decryption processes
  • Learn how to compute the totient function φ(N) for given primes
  • Explore modular exponentiation techniques for efficient computation
  • Investigate the mathematical properties of congruences and their applications in cryptography
USEFUL FOR

Students studying cryptography, mathematicians interested in number theory, and anyone involved in implementing or analyzing RSA encryption systems.

ribbon
Messages
38
Reaction score
0

Homework Statement


"You are to receive a message using the RSA system. You choose p = 5,
q = 7 and E = 5. Verify that D = 5 is a decoder. The encoded message
you receive is 17. What is the actual (decoded) message?"


Homework Equations





The Attempt at a Solution


N= pq = 35, our E = 5 --> M^E is congruent to R (mod35) where R is the remainder.

The decoder (D=5) is being given to me, so this shouldn't be that hard, but how can I use it to help me find M, the sent message?
 
Physics news on Phys.org
ribbon said:
N= pq = 35, our E = 5 --> M^E is congruent to R (mod35) where R is the remainder.

The decoder (D=5) is being given to me, so this shouldn't be that hard, but how can I use it to help me find M, the sent message?
The coded message R was computed as M^E mod N. To decode, you use the same procedure but with D instead of E. Is your problem finding an efficient way to do the computation?
 
  • Like
Likes   Reactions: 1 person
Also, even though D was given to you, you should still check that D is indeed what it is supposed to be.
I mean, to check if ED = 1 (mod the totient function).
 
  • Like
Likes   Reactions: 1 person

Similar threads

  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
9
Views
3K