Take the 2-minute tour ×
Cryptography Stack Exchange is a question and answer site for software developers, mathematicians and others interested in cryptography. It's 100% free, no registration required.

I am given 5 different encryption modulus, $N$, each ranging from 78 to 88 numbers long. Then for the encryption exponent, each has the same which is 5. Then I am given 5 different encrypted messages, $E$, which also ranges from 76 to 88 numbers long. I am trying to decrypt the message without having to discover the private key.

One way is to use the Chinese Remainder Theorem where we follow the procedure as follows: $x=E_i \mod R_i$ for $i=1,2,3,4,5$. So for $x$, I took all the combination for i and tried to decrypt it by taking the 5-th root of the solution I get for all the $x^\prime$s. However, this is not really working for me as for every solution I get for $x$, it is not possible to take the 5-th root without having decimal fraction.

Anyone who is familiar with the procedure I am taking about, could you tell me what I am doing wrong and possibly help me through this? Thanks in advance. The method I am using by the way is known as the common encryption exponent.

share|improve this question
2  
1) Do the different encrypted messages correspond to the same plaintext? There is an attack if the same message is encryted to e different public keys, but not if those messages are different. 2) Do you use textbook RSA (no secure padding) or real RSA? The attack doesn't work if proper padding is used, since then you will never get identical padded plaintext messages. –  CodesInChaos Oct 3 '13 at 19:28
    
Hint: if $x$ is the message that you want to know, what do you know about $y=x^5$? And if you knew $y$, how would you get $x$? –  fgrieu Oct 3 '13 at 20:01
    
Is this homework by the way? Forgive me for asking but I had a similar assignment a few months back. If so, please edit your post to add the 'homework' tag. Cheers –  rath Oct 3 '13 at 23:19
1  
@rath The homework tag is rather discouraged. All the cool Stack Exchange sites have gotten rid of it. It is definitely not required. –  Gilles Oct 4 '13 at 11:13
    
@Gilles I was not aware, thanks –  rath Oct 4 '13 at 11:45

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.