Verifying the Decoder in RSA System: Solving for M

  • Thread starter Thread starter ribbon
  • Start date Start date
  • Tags Tags
    Decoder System
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 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 1 person
There are two things I don't understand about this problem. First, when finding the nth root of a number, there should in theory be n solutions. However, the formula produces n+1 roots. Here is how. The first root is simply ##\left(r\right)^{\left(\frac{1}{n}\right)}##. Then you multiply this first root by n additional expressions given by the formula, as you go through k=0,1,...n-1. So you end up with n+1 roots, which cannot be correct. Let me illustrate what I mean. For this...

Similar threads

Back
Top