SymmetricAlgorithm.PaddingValue SymmetricAlgorithm.PaddingValue SymmetricAlgorithm.PaddingValue SymmetricAlgorithm.PaddingValue Field

定义

表示对称算法中使用的填充模式。Represents the padding mode used in the symmetric algorithm.

protected: System::Security::Cryptography::PaddingMode PaddingValue;
protected System.Security.Cryptography.PaddingMode PaddingValue;
val mutable PaddingValue : System.Security.Cryptography.PaddingMode
Protected PaddingValue As PaddingMode 

字段值

注解

大多数纯文本消息执行操作包含的完全填充块的字节数。Most plain text messages do not consist of a number of bytes that completely fill blocks. 通常情况下,没有足够的字节数来填充的最后一个块。Often, there are not enough bytes to fill the last block. 在此情况下,填充字符串添加到文本。When this happens, a padding string is added to the text. 例如,如果块长度为 64 位和最后一个块只包含 40 位,将添加的填充的 24 位。For example, if the block length is 64 bits and the last block contains only 40 bits, 24 bits of padding are added. 请参阅PaddingMode枚举为特定模式的描述。See the PaddingMode enumeration for a description of specific modes.

通过访问此字段Padding属性。This field is accessed through the Padding property.

适用于

另请参阅