Ask Question
21 December, 09:04

Suppose that you want to encrypt a single message M ∈ {0, 1, 2} using a random shared key K ∈ {0, 1, 2}. Suppose you do this by representing K and M using two bits (00, 01, or 10), and then XORing the two representations. Does this seem like a good protocol to you?

+2
Answers (1)
  1. 21 December, 10:26
    0
    Encrypt a single message M ∈ {0, 1, 2} using a random shared key K ∈ {0, 1, 2}. No, this protocol does not seem good.

    Explanation:

    No, this scheme does not have the security guarantees of a one-time pad. The table below lists the resulting encrypted messages using this scheme. We can see that some outcomes exclude certain inputs.

    For example, given E (K, M) = 11 an attacker knows that the sent message M is not 0.

    K M E (K, M)

    00 00 00

    01 00 01

    10 00 10

    00 01 01

    01 01 00

    10 01 11

    00 10 10

    01 10 11

    10 10 00
Know the Answer?
Not Sure About the Answer?
Find an answer to your question ✅ “Suppose that you want to encrypt a single message M ∈ {0, 1, 2} using a random shared key K ∈ {0, 1, 2}. Suppose you do this by ...” in 📘 Computers and Technology if you're in doubt about the correctness of the answers or there's no answer, then try to use the smart search and find answers to the similar questions.
Search for Other Answers