January 22, 2002
Practical Aspects of Modern Cryptography
37
PKCS Padding
nWhat did I forget?
nWhat happens if the plaintext doesn’t need to be padded? (Last block is already full...)
 A7  9D  42   46  BE   D4  37  B8
Value: B8
(decimal 184)
Remove last 184 bytes!