RsaEncryptionCookieTransform.HashName Propriedade

Definição

Obtém ou define o nome do algoritmo de hash a usar.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

Valor da propriedade

String

O nome do algoritmo de hash a ser usado.The name of the hash algorithm to use. O padrão é "SHA2566".The default is "SHA2566".

Comentários

SHA256 é o algoritmo padrão.SHA256 is the default algorithm. Isso pode exigir uma plataforma mínima do Windows Server 2003 e do .NET 3,5 SP1.This may require a minimum platform of Windows Server 2003 and .NET 3.5 SP1.

Se SHA256 não for compatível, defina a HashName propriedade como "SHA1".If SHA256 is not supported, set the HashName property to "SHA1".

Devido a problemas de colisão com o SHA1, a Microsoft recomenda SHA256 ou melhor.Due to collision problems with SHA1, Microsoft recommends SHA256 or better.

Aplica-se a