Multiple choice questions for assgt-sdes.htm's manual sdes encryption and decryption exercise


1. Midway through the encryption operation is a swap step. Your midstream result following that step (after doing its swap) is:
 a. 1 0 1 0 0 0 0 1
 b. 1 1 0 0 1 1 0 1
 c. 1 1 1 0 0 1 1 1
 d. 0 1 1 0 0 1 1 1
 e. 0 0 1 0 1 1 1 0


2. At the end of the encryption operation is an inverse initial permutation step. It's result is the ciphertext. Your ciphertext is:
 a. 1 0 0 0 0 1 0 1
 b. 1 1 1 0 1 1 1 1
 c. 0 1 1 0 0 1 1 1
 d. 0 1 1 0 0 1 0 1
 e. 0 0 1 0 0 0 0 0


3. Midway through the decryption operation is a swap step. Your midstream result following that step (after doing its swap) is:
 a. 1 1 1 0 0 1 1 1
 b. 0 0 0 0 1 1 0 1
 c. 1 0 1 0 0 1 0 0
 d. 0 1 1 0 0 1 1 1
 e. 0 1 1 1 1 1 1 0


4. Near the end of the decryption operation is the final step in the exercise that employs s-boxes. In that step the two row/column coordinate pairs developed for box S0 and box S1 respectively are:
 a. row 3 and column 2 for S0, row 1 and column 0 for S1
 b. row 3 and column 3 for S0, row 3 and column 2 for S1
 c. row 3 and column 3 for S0, row 0 and column 2 for S1
 d. row 1 and column 2 for S0, row 3 and column 0 for S1
 e. row 3 and column 2 for S0, row 3 and column 0 for S1