Try it on paper first. A hint, the key idea and the worked solution are here when you need them.
An attacker learns that, with a certain shift cipher key, the letter S was encrypted as B. Later he intercepts the ciphertext UXLT, made with the same key. Number the letters A to Z .
UXLT?Data can be intercepted on a network. Encryption turns plaintext into ciphertext with an algorithm and a key, so intercepted data is meaningless without the key; it does not stop interception. In a shift cipher, with A to Z , the rule is .
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. The key. S and B . We need . Going past Z means the total is , so and . Check: , and , which is B.
Step 2. Decrypt the first letter. U , and , which is L.
Step 3. The rest. X gives , O. L gives , C. T gives , K. The plaintext is LOCK.
Step 4. What it shows. Once the key is known, every message made with it can be read. The whole safety of encryption rests on the key staying secret.
Answer: (a) . (b) , the letter L. (c) Anyone who learns the key can decrypt all the data.
Log in to join the discussion.
Loading…