|       Crypto: HW 8      |       Fall 2001      |       Michael Siff       |
Read the handout given in class on Thursday (10/18) before class on Monday (10/22).
The problems below are due Thursday, October 25.
Algorithms and complexity
For the following problems, you may assume that addition, subtraction, multiplication, division, and mod are all primitive operations. Write your algorithms using the notation used in class, in the notes, and on previous assignments.
DES
A Feistel cipher
Consider a Feistel Cipher as described in class where the function F just takes the exclusive-or of the bits in the right half of the input (R) with the key that corresponds to that round. Remember the exclusive-or of two bits is the same as addition (or subtraction!) modulo 2. The exclusive-or of two equal-length binary numbers is simply the "bit-wise" exclusive-or of each of the bits as in:
10111011
xor 01110010
------------
11001001
| crypto home | assignments | labs | notes | tools | contact instructor |