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

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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!