Exercise 3: sample answer Use A=1 ... Z=26, wrap around after 26. Key stream: 5, 9. (a) Encipher NO N = 14, 14 + 5 = 19 = S O = 15, 15 + 9 = 24 = X Cipher text: SX (b) Decipher ZY Z = 26, 26 - 5 = 21 = U Y = 25, 25 - 9 = 16 = P Plain text: UP (c) If two messages use the same key stream, subtracting one cipher text from the other cancels the key completely. What is left is the difference between the two plain texts, and an enemy can attack that with guessed words (cribs), sliding one guess along and checking whether sensible text appears in the other message. Once one message is read, the key stream is known and the other message falls too. This is the same weakness that let the codebreakers into Lorenz.