
Homework 5
due Tuesday, October 17th, 2006, 7:20 PM
at the beginning of class
Reading Assignment:
•W. Stallings, Cryptography and Network-Security, Chapter 2
•A. Menezes, P. van Oorschot, and S. Vanstone, Handbook of Applied Cryptography, Chapter 7.3
Tasks:
1. (All) The report of Lab 1 is due on October 17th, at the beginning of class.
Problems (all tracks):
Please use very legible handwriting or type the answers. In either case you can draw diagrams and write
formulae by hand but they have to be legible and the diagrams have to be labeled clearly. Answers that neither
the TA nor the instructor can read receive 0 points. You are allowed to work in groups on these problems but
you have to write your own solution in your own words. Copying the solution from someone else (in class or
otherwise e.g. Internet) is a serious honor code violation and will be treated as such.
1. (10 points) Decipher the following short English message using the Vigenere Cipher and the key
“BIFOCAL”
UPWSG MLZSJ SRADF KWSVI QUETC HTSFU FFGDP BLGSP JLNQS TTAYL TNB
Please note that all spaces and punctuation characters have been removed from the message before
encryption, and the letters of the ciphertext have been arranged for convenience and increased
readability in the groups of five characters.
2. (10 points) Encrypt the message “Meet me in the park at noon” using the Playfair cipher (following
the exact specification given in the Stalling’s book) using the key: “LIGHTNING ROD”.
Note: You should never use a password/key for a real cryptosystem that is so closely associated with
the plaintext.
3. (10 points) Encrypt the message “Bletchley Park, Hut Six” using the Hill Cipher and the key: