CngCbcAuthenticatedEncryptionSettings.HashAlgorithm Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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'.