Try it on paper first. A hint, the key idea and the worked solution are here when you need them.
Five members of a project team each want to send private messages to every other member, using symmetric encryption. Each pair of members must have its own key, so that nobody can read messages meant for others.
Symmetric encryption uses the same key to encrypt and to decrypt, so the key must be shared, and an intercepted key lets anyone decrypt. A key of bits has possible values. If each pair of people needs its own key, there are keys.
Have you tried it?
Work it out on paper first. It is fine to get stuck or make a mistake: that is how we learn. When you are ready, go through the solution one step at a time, and check each step against your own.
Step 1. Count the pairs. The first member pairs with others, the second with new ones, then , then : keys. The formula gives the same.
Step 2. The intercepted key. The same key decrypts as well as encrypts. So the attacker can decrypt every message that Ana and Ben send each other with it, and even write fake encrypted messages. This is the main weakness of symmetric encryption: the key must be shared, and sharing it is risky.
Answer: (a) keys. (b) The attacker can decrypt all the messages between Ana and Ben.
Log in to join the discussion.
Loading…