Early Preview
This is currently very much a preview. Please feel free to try things out,
but don't be upset if anything is not yet working. Feedback is welcome over on our
GitHub Dicussions page.
enum System.Security.Cryptography.PaddingMode
Assembly: System.Security.Cryptography
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.
Values
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.
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.