共用方式為


CngGcmAuthenticatedEncryptionSettings.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 樣式加密,而且必須只有 128 位的區塊大小。 預設值為 'AES'。

適用於