CngGcmAuthenticatedEncryptorConfiguration.EncryptionAlgorithmKeySize 属性

定义

用于对称加密的密钥的长度 (位) 。 此属性必须具有值。

public:
 property int EncryptionAlgorithmKeySize { int get(); void set(int value); };
public int EncryptionAlgorithmKeySize { get; set; }
member this.EncryptionAlgorithmKeySize : int with get, set
Public Property EncryptionAlgorithmKeySize As Integer

属性值

注解

密钥长度必须为 128 位或更大。 默认值为 256。

适用于