Back to product page
- License Agreement
- Getting Started
- How to get support?
- Technical information
- How do I ...
- What is ...
- Error list
Determines padding data for short blocks.
TypeA CryptoPadding enumeration. Determines the type of padding to use when doing encryption.
|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|
The Padding property determines how wodCrypt will add padding to unaligned plaintext blocks. It is used when the input (plaintext) blocks are not the correct size (i.e. are not a multiple of the BlockSize property value) needed for the encryption operation.
Based on your value in this property wodCrypt can just put Null values on unused data places, fill them with spaces, add random data, etc..