HW1
HW1
HW1
8. Using S-DES, decrypt the string (10100010) using the key (0111111101). Show intermediate
results after each function (IP, fK, SW, fK, IP-1). Then decode the first 4bits of the plaintext
string to a letter and the second 4 bits to another letter where we encode A through P in base 2
(i.e. A=0000, B=0001, … , P=1111). Hint: As a midway check, after the application of SW,
the string should be (00010011).
The secret key of RC4 is 7-byte (1, 2, 3, 4, 5, 6, 7). Find the first 20 byte key stream.