CngGcmAuthenticatedEncryptorConfiguration.EncryptionAlgorithm 属性

定义

用于对称加密的算法的名称。 此属性对应于 BCryptOpenAlgorithmProvider 的“pszAlgId”参数。 此属性必须具有值。

public:
 property System::String ^ EncryptionAlgorithm { System::String ^ get(); void set(System::String ^ value); };
public string EncryptionAlgorithm { get; set; }
member this.EncryptionAlgorithm : string with get, set
Public Property EncryptionAlgorithm As String

属性值

注解

该算法必须支持 GCM 样式的加密,并且块大小必须正好为 128 位。 默认值为“AES”。

适用于