TPaddingMode Enumeration
Specifies the type of padding to apply when the message data block is shorter than the full number of bytes needed for a cryptographic operation.
The TPaddingMode type exposes the following members.
Show:
Name | Description | |
---|---|---|
ANSIX923 | The ANSIX923 padding string consists of a sequence of bytes filled with zeros before the length. | |
ISO10126 | The ISO10126 padding string consists of random data before the length. | |
None | No padding is done. | |
PKCS7 | The PKCS #7 padding string consists of a sequence of bytes, each of which is equal to the total number of padding bytes added. | |
Zeros | The padding string consists of bytes set to zero. |