RsaEncryptionCookieTransform.HashName 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.
Gets or sets the name of the hash algorithm to use.
public:
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 hash algorithm to use. The default is "SHA2566".
Remarks
SHA256 is the default algorithm. This may require a minimum platform of Windows Server 2003 and .NET 3.5 SP1.
If SHA256 is not supported, set the HashName property to "SHA1".
Due to collision problems with SHA1, Microsoft recommends SHA256 or better.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.