Share via


CngGcmAuthenticatedEncryptorConfiguration.EncryptionAlgorithmKeySize Property

Definition

The length (in bits) of the key that will be used for symmetric encryption. This property is required to have a value.

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

Property Value

Remarks

The key length must be 128 bits or greater. The default value is 256.

Applies to