Padding:
CMS (Cryptographic Message System)
same value as the number of padding bytes
Padding:
Bits
pad with 0x80 followed by 0 (null bytes)
Padding:
ZeroLength
pad with 0s Except for last byte, which is equal to number (length) of padding bytes
Padding:
Null
padd with NULL bytes; only used with ASCII text
Padding:
Space
pad with spaces; only used with ASCII text
Padding:
Random
pad with random bytes (last byte defined by # of padding bytes)