Exercise 4.15
Problem
Show that appending the message length to the end of the message before applying basic CBC-MAC does not result in a secure MAC for arbitrary-length messages.
Solution
Query
,
,
,
To be specific, the process of computing for message is listed below:
Hence, if we change to ,
In order to keep the result of MAC, it must hold that . Thus
Therefore
can be easily get since
Hence we get a message and its valid tag where
Last updated
Was this helpful?