Bob's public key is n = 6 , 8 6 5 , 6 5 3 , 9 4 9 , 8 2 1 , 2 7 6 , 4 0 3 , 1 2 5 , 0 6 7 and e = 3 . Alice sends the ciphertext c = 3 0 9 , 7 1 7 , 0 8 9 , 8 1 2 , 7 4 4 , 7 0 4 to Bob. What was Alice's message, converted to ASCII?
(You may assume Alice's message is an English word written in capital letters.)
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
Very tidy, I mistook the question and thought we were trying to figure it out for each 3 digit grouping instead of it as a whole.
There might be a problem with this question: g cd ( ϕ ( n ) , e ) = 3 = 1 , so e could not have been chosen as the second part of the public key: n = p q , p = 7 2 6 , 4 5 5 , 3 4 2 , 9 7 1 , q = 9 , 4 5 0 , 8 9 6 , 0 7 5 , 3 7 7 ⇒ ϕ ( n ) ≡ ( p − 1 ) ( q − 1 ) ≡ ( p − 1 ) ⋅ 0 ≡ 0 m o d 3 The problem is there are now multiple messages m Alice could have encoded that all lead to the same codeword c . Another one is m = 5 , 4 7 0 , 5 5 1 , 8 1 7 , 2 3 9 , 3 1 0 , 8 8 6 , 9 5 3 , 7 4 7 , m e ≡ c m o d n
Problem Loading...
Note Loading...
Set Loading...
As far as I know, e = 3 is not demonstrably unsafe in general. But if your message m happens to be smaller than n 1 / e , then m e will be less than n , so c will actually equal m e and we can just recover m by taking m = c 1 / e . This is what happens in this case: ( 3 0 9 7 1 7 0 8 9 8 1 2 7 4 4 7 0 4 ) 1 / 3 = 6 7 6 5 8 4 , or "cat."