Crypto Midsem
Crypto Midsem
Problem 1 2 marks
Prove (or disprove) that Mixcolumn(23, 45, 78, 112) = (103, 239, 54, 186). Here input and output
are given in integer.
Problem 2 2 marks
Write down the decryption algorithm of AES-128. Give proper justifications.
Problem 3 2 marks
Prove that the encryption technique C = Enc(M, K) = M ⊕ K will provide perfect secrecy, where
M ∈ {0, 1}3 and key K is selected randomly from {0, 1}3 .
Problem 4 1 mark
Consider the AES-128 encryption algorithm. AES-128 encryption algorithm takes an 128-bit key
and an 128-bit message block and generates 128-bit ciphertext block (AES-128(M,K)=C) i.e., AES-
128: {0, 1}128 × {0, 1}128 → {0, 1}128 . Define the compression function h : {0, 1}256 → {0, 1}128 by
using the following rule
h(m1 ||m2 ) = AES-128(m1 , m2 ).
Check whether h is collision resistant and preimage resistant compression function or not. Provide
your justification against your answer.
Problem 5 2 marks
Prove that Subbytes(A7) = 5C. Here input and output are given in hexadecimal form.
Problem 6 1 mark
64 64 64
Let F be the set of all functions from {0, 1} × {0, 1} to {0, 1} . You have been given two
black boxes with two functions F1 , F2 from F and it is mentioned that one function among F1 , F2
is DES. Given these two black boxes how do you distinguish the black box which has DES? These
two black boxes will produce outputs corresponding to your polynomial many queries.