MD5.Create Método

Definição

Permite que implementações específicas dessa classe abstrata sejam criadas.

Sobrecargas

Nome Description
Create()

Cria uma instância da implementação padrão do MD5 algoritmo de hash.

Create(String)
Obsoleto.

Cria uma instância da implementação especificada do MD5 algoritmo de hash.

Create()

Origem:
MD5.cs
Origem:
MD5.cs
Origem:
MD5.cs
Origem:
MD5.cs
Origem:
MD5.cs

Cria uma instância da implementação padrão do MD5 algoritmo de hash.

public:
 static System::Security::Cryptography::MD5 ^ Create();
[System.Runtime.Versioning.UnsupportedOSPlatform("browser")]
public static System.Security.Cryptography.MD5 Create();
public static System.Security.Cryptography.MD5 Create();
[<System.Runtime.Versioning.UnsupportedOSPlatform("browser")>]
static member Create : unit -> System.Security.Cryptography.MD5
static member Create : unit -> System.Security.Cryptography.MD5
Public Shared Function Create () As MD5

Retornos

MD5

Uma nova instância do MD5 algoritmo de hash.

Atributos

Exceções

O algoritmo foi usado com o modo FIPS (Federal Information Processing Standards) habilitado, mas não é compatível com FIPS.

Confira também

Aplica-se a

Create(String)

Origem:
MD5.cs
Origem:
MD5.cs
Origem:
MD5.cs
Origem:
MD5.cs
Origem:
MD5.cs

Cuidado

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 do MD5 algoritmo de hash.

public:
 static System::Security::Cryptography::MD5 ^ Create(System::String ^ algName);
[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.MD5? Create(string algName);
public static System.Security.Cryptography.MD5? Create(string algName);
[System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("The default algorithm implementations might be removed, use strong type references like 'RSA.Create()' instead.")]
public static System.Security.Cryptography.MD5? Create(string algName);
public static System.Security.Cryptography.MD5 Create(string algName);
[<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.MD5
static member Create : string -> System.Security.Cryptography.MD5
[<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.MD5
Public Shared Function Create (algName As String) As MD5

Parâmetros

algName
String

O nome da implementação específica a MD5 ser usada.

Retornos

MD5

Uma nova instância da implementação especificada de MD5.

Atributos

Exceções

O algoritmo descrito pelo parâmetro foi usado com o algName modo FIPS (Federal Information Processing Standards) habilitado, mas não é compatível com FIPS.

Comentários

Os valores possíveis paraalgName: System.Security.Cryptography.MD5, , MD5e System.Security.Cryptography.MD5CryptoServiceProviderSystem.Security.Cryptography.MD5Managed.

Confira também

Aplica-se a