What Are The Advantages and Disadvantages of Triple DES? List The Important Design Criteria For Stream Cipher
What Are The Advantages and Disadvantages of Triple DES? List The Important Design Criteria For Stream Cipher
Review Questions:
Problems
1. Stream cipher: P (plaintext message) has been encrypted using stream cipher with key K
to obtain a ciphertext C. Given C = 10011010 and K=11001010, find the original plaintext
P. Show the calculation process.
2. Is the DES decryption the inverse of DES encryption? Justify your answer.
a) Convert the Hexadecimal representation (M and K) to binary number. Note that you
have to convert plaintext M to ASCII code.
b) Write down the first round subkey, K1.
c) Write down L0, R0 from plaintext.
d) Expand R0, which is represented as E[R0], using the expansion P-box function
e) Calculate A = E[R0] ⊕ K1.
f) Group the 48-bit result of (e) into sets of 6 bits and write down the corresponding S-
Box substitutions output.
g) Apply the straight permutation function to get P(B).
h) Calculate R1 = P(B) ⊕ L0
i) Write down the output of Round 1 ciphertext
4. AES: Given the plaintext {000102030405060708090A0B0C0D0E0F} and the key
{01010101010101010101010101010101}.
5. Calculate the MixColumns transformation output for the following hex input; 67 89 AB
CD". Next, change the first byte of the input from '67' to '77' and perform the function of
MixColumns again to the new input, and explain the difference between both MixColumns
output.
6. If ciphertext is transmitted using Electronic Codebook Mode (ECB) with an error in any
of the block, it will only affect the corresponding plaintext block. In contrast, if CBC mode
is used, this error will disseminate to other block.
For instance, in the Figure 6.1, if transmitted C1 produce an error, P1 and P2 will also be
affected.