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

属性值

注解

该算法必须支持 CBC 样式的加密,并且必须具有 64 位或更大的块大小。 默认值为“AES”。

适用于