SHA1.Create Método
Definição
Importante
Algumas informações dizem respeito a um produto pré-lançado que pode ser substancialmente modificado antes de ser lançado. A Microsoft não faz garantias, de forma expressa ou implícita, em relação à informação aqui apresentada.
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
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.