SHA1.Create Método

Definição

Permite que implementações específicas desta classe abstrata sejam instanciadas.

Sobrecargas

Name Description
Create()

Cria uma instância da implementação padrão de SHA1.

Create(String)
Obsoleto.

Cria uma instância da implementação especificada de SHA1.

Create()

Origem:
SHA1.cs
Origem:
SHA1.cs
Origem:
SHA1.cs
Origem:
SHA1.cs
Origem:
SHA1.cs

Cria uma instância da implementação padrão de SHA1.

public:
 static System::Security::Cryptography::SHA1 ^ Create();
public static System.Security.Cryptography.SHA1 Create();
static member Create : unit -> System.Security.Cryptography.SHA1
Public Shared Function Create () As SHA1

Devoluções

Uma nova instância de SHA1.

Observações

A implementação padrão de SHA1 é SHA1CryptoServiceProvider.

Ver também

Aplica-se a

Create(String)

Origem:
SHA1.cs
Origem:
SHA1.cs
Origem:
SHA1.cs
Origem:
SHA1.cs
Origem:
SHA1.cs

Atenção

Cryptographic factory methods accepting an algorithm name are obsolete. Use the parameterless Create factory method on the algorithm type instead.

Cria uma instância da implementação especificada de SHA1.

public:
 static System::Security::Cryptography::SHA1 ^ Create(System::String ^ hashName);
[System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("The default algorithm implementations might be removed, use strong type references like 'RSA.Create()' instead.")]
[System.Obsolete("Cryptographic factory methods accepting an algorithm name are obsolete. Use the parameterless Create factory method on the algorithm type instead.", DiagnosticId="SYSLIB0045", UrlFormat="https://aka.ms/dotnet-warnings/{0}")]
public static System.Security.Cryptography.SHA1? Create(string hashName);
public static System.Security.Cryptography.SHA1? Create(string hashName);
[System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("The default algorithm implementations might be removed, use strong type references like 'RSA.Create()' instead.")]
public static System.Security.Cryptography.SHA1? Create(string hashName);
public static System.Security.Cryptography.SHA1 Create(string hashName);
[<System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("The default algorithm implementations might be removed, use strong type references like 'RSA.Create()' instead.")>]
[<System.Obsolete("Cryptographic factory methods accepting an algorithm name are obsolete. Use the parameterless Create factory method on the algorithm type instead.", DiagnosticId="SYSLIB0045", UrlFormat="https://aka.ms/dotnet-warnings/{0}")>]
static member Create : string -> System.Security.Cryptography.SHA1
static member Create : string -> System.Security.Cryptography.SHA1
[<System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("The default algorithm implementations might be removed, use strong type references like 'RSA.Create()' instead.")>]
static member Create : string -> System.Security.Cryptography.SHA1
Public Shared Function Create (hashName As String) As SHA1

Parâmetros

hashName
String

O nome da implementação específica de SHA1 a ser utilizada.

Devoluções

Uma nova instância de SHA1 usar a implementação especificada.

Atributos

Observações

Devido a problemas de colisão com o SHA-1, a Microsoft recomenda um modelo de segurança baseado no SHA-256 ou superior.

Ver também

Aplica-se a