Question: This question concerns block cipher padding. Suppose the block cipher has a block size of 15 bytes. A certain message ends with a partial
This question concerns block cipher padding. Suppose the block cipher has a block size of 15 bytes. A certain message ends with a partial block which is 6 bytes. We must reversibly pad out the message to use some block cipher modes, such as CBC (even if the last block is full). Consider the following padding strategy. Append a single byte with value 128, and then as many zero bytes as required to make the overall length a multiple of 15. Suppose the final (possibly partial) block of the message is "Ox000102030405" in hexadecimal. Write out the complete final block in hexadecimal. Please do not put a leading Ox as this has been written already. Ox
Step by Step Solution
3.34 Rating (148 Votes )
There are 3 Steps involved in it
The given message ends with a partial block of 6 bytes and we need to ... View full answer
Get step-by-step solutions from verified subject matter experts
