Share via


CngCbcAuthenticatedEncryptionSettings.HashAlgorithm Property

Definition

The name of the algorithm to use for hashing data. This property corresponds to the 'pszAlgId' parameter of BCryptOpenAlgorithmProvider. This property is required to have a value.

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

Property Value

Remarks

The algorithm must support being opened in HMAC mode and must have a digest length of 128 bits or greater. The default value is 'SHA256'.

Applies to