|       Crypto: HW 9      |       Fall 2001      |       Michael Siff       |
Read Singh, pp. 250-267 before class on Thursday (11/01).
The problems below are due Thursday, November 1.
Consider the difference between some traditional (pre-Internet) uses of cryptography and some modern-day uses. For example, perhaps if you were living almost a century ago, you might not concern yourself about the privacy of everyday messages (e.g., US Mail, telegraph, telephone, and radio). Every so often, you would have important news to send to someone that might warrant the use of a cipher. Contrast that with carrying on a daily e-mail dialogue with a close friend. You realize that everyone can eavesdrop on your dialogue so you opt to use a cryptosystem.
Feistel Ciphers
For the following problems think of the Feistel cryptosystem in which the "mangler" function is just the the exclusive-or of the bits in the right half of the input (R) with the key that corresponds to that round (as on the previous homework and as we have done in class). It will also be useful to consult this ASCII table for conversion between characters, binary numbers, and decimal numbers. For example, the table indicates that ASCII character 70 is F and that the number 70 is written as 01000110 using 8-bit binary notation. The table allows us to convert easily between all three representations. For example we might write:
Helloor
72 101 108 108 111or
01001000 01100101 01101100 01101100 01101111
0001001111101011encrypt the plaintext
Obvioususing the decimal notation. That is, first translate the plaintext to a sequence of binary numbers (using the ASCII codes corresponding to each symbol), then use the Feistel cipher to generate a new sequence of binary numbers, and then translate that sequence into a list of decimal numbers.
1101101110010110decrypt the ciphertext
3 185 3 207 48That is, first translate the decimal numbers into a sequence of binary numbers, then use the Feistel cipher (with the keys in reverse!) to generate another sequence of binary numbers, and then translate that sequence into a list of symbols to form an English phrase.
| crypto home | assignments | labs | notes | tools | contact instructor |