PKCS1MaskGenerationMethod.HashName Property


Gets or sets the name of the hash algorithm type to use for generating the mask.

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

Property Value

The name of the type that implements the hash algorithm to use for computing the mask.


If no hash algorithm is specified, SHA1 is used by default.

Due to collision problems with SHA1, Microsoft recommends a security model based on SHA256 or better.

Applies to

See also