January 22, 2002
Practical Aspects of Modern Cryptography
33
Padding with Zero
n
Add enough zeros to the end of the data so
we have a full block to encrypt
n
Example: last block is 31 D9 7B D7
n
n
n
Zero padding yields:
31
D9
7B
D7
31
D9
7B
D7
00
00
00
00