Question: 3. (10 points) Bad compression function. Consider the compression function F as given in Figure 2, where B is a block cipher which takes key
3. (10 points) Bad compression function. Consider the compression function F as given in Figure 2, where B is a block cipher which takes key K and plaintext M and outputs ciphertext C. (a) Show that F is not collision resistant. (b) Suppose that a hash function h in Merkle-Damgrd mode uses this compression function F. Is it preimage resistant? M K IV . B B CV , C Figure 2: The compression function F
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
