View Single Post
Posts: 52 | Thanked: 74 times | Joined on Jun 2011
#2946
Originally Posted by momcilo View Post
Whoever thought about this riddle, has no clue about cryptography.

He has set both private key and public key to value 255.

Public key is actually calculated by (g ^ private) mod p
Which is in this case 289. That is the point of the bloody algorithm it is difficult to reverse the operation.

Alice would not be able to decrypt the message.


The bloody web calculator, did allow setting invalid key.

I am really annoyed

BTW: 10 is not a generator over 307
This is absolutely true. p is wrong. yA is wrong.

Nokia gives us a crypto challenge that requires using made-up rules. The result of the made up rules is that a variable that is generated by g^x mod p is actually generated by the green component of a random colour. This means it's impossible to decrypt the message too.

I had no way of knowing this and hence no way of getting the answer.
 

The Following 2 Users Say Thank You to recluse For This Useful Post: