Back to product page
CryptoPadding Enumeration
List of padding methods supported by the component.
Remarks
All algorithms operate on data blocks of a predefined size. Since it is virtually impossible to have data blocks with those sizes (or multiplications of BlockSize) then padding is added to your data before encryption. wodCrypt will add padding for you as specified with the following constants.Possible values for CryptoPadding:
Constant | Value | Description |
---|---|---|
PadNull | 0 | Blocks are filled with zeroes (NULL) |
PadSpace | 1 | Blocks are filled with blanks |
PadRandom | 2 | Blocks are filled with random data |
PadPKCS7 | 3 | Blocked are filled as defined by PKCS7 |