Click or drag to resize

PaddingMode 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.

Namespace: Crestron.SimplSharp.Cryptography
Assembly: SimplSharpCryptographyInterface (in SimplSharpCryptographyInterface.dll) Version: 2.21.121
Syntax
C#
public enum PaddingMode
Members
Member nameValueDescription
None1 No padding is done.
PKCS72 The PKCS #7 padding string consists of a sequence of bytes, each of which is equal to the total number of padding bytes added.
Zeros3 The padding string consists of bytes set to zero.
ANSIX9234 The ANSIX923 padding string consists of a sequence of bytes filled with zeros before the length.
ISO101265 The ISO10126 padding string consists of random data before the length.

Version Information

.NET

Supported in: 6.0

.NET Compact Framework

Supported in: 3.5
See Also