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?

Solved
Show answers

Ask an AI advisor a question