In: Advanced Math
user A sends two messages to user B using ElGamal. user C
listens on the line and intercepts both messages, and got the
decryption of the first message. explain well if user C can decrypt
the second message as well:
1)user A sends two messages E(m) and E(m'). to encrypt the first
message user A used the variable k and to encrypt the second k+5.
User C knows that there's a difference of 5 between the k values
chosen. can he recover the second message?
2)user A sends two messages E(m) and E(m'). to encrypt the first
message user A used the variable k and to encrypt the second 2k.
User C knows that the second k used is two times the first k used.
can he recover the second message?
please explain mathematically and elaborate so i can understand and
learn from your answer. thank you very much.