Question: a. It is in principle possible to create a hash function by using CBC-MAC with a constant, public key. i. Discuss how to find a

 a. It is in principle possible to create a hash function

a. It is in principle possible to create a hash function by using CBC-MAC with a constant, public key. i. Discuss how to find a single-block message m that hashes to a given digest d. L.e. show that this hash function is not pre-image resistant. (1 mark) ii. Extend your attack to find a message of a given length n. (1 mark) b. Padding can affect cryptography in surprising and subtle ways. Consider the following padding scheme for a CBC-MAC. We are given a message mm2..mn where mj is a full block for n

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!