Question

A student recently invented a simple protocol for sending a message securely from A to B...

  1. A student recently invented a simple protocol for sending a message securely from A to B by preserving the confidentiality of the message. In his protocol, A and B do not have a common, shared secret/key. Instead, for each message, both A and B generate random numbers, namely RA and RB, respectively. The protocol is described as follows, where “->” means that the message is sent over a network (e.g., the Internet). Adversaries have the capability to eavesdrop all messages exchanged between A and B.

  1. A -> B: M1       (M1 = M XOR RA)
  2. B -> A: M2       (M2 = M1 XOR RB)
  3. A -> B: M3       (M3 = M2 XOR RA)

Show how an adversary capable of eavesdropping messages exchanged between A and B can recover the original message M.

0 0
Add a comment Improve this question Transcribed image text
Answer #1

B receives message M1 which is XOR of M and random key of A RA

M2 = M1 XOR RB

M1 = M XOR RA

Substituting this value in M2 -> M2 = (M XOR RA) XOR RB

M2 XOR RB = (M XOR RA) XOR (RB XOR RB)

                     = (M XOR RA) XOR 0

                     = M XOR RA

Again using XOR operator on RA, we get

M2 XOR RB XOR RA = M XOR (RA XOR RA) = M XOR 0

And M2 XOR RA = M3, therefore we get M2 XOR RB = M, thus we are able to recover the message M

Add a comment
Know the answer?
Add Answer to:
A student recently invented a simple protocol for sending a message securely from A to B...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT