MD5.Create Metoda

Definice

Umožňuje vytvoření konkrétních implementací této abstraktní třídy.

Přetížení

Name Description
Create()

Vytvoří instanci výchozí implementace MD5 hash algoritmu.

Create(String)
Zastaralé.

Vytvoří instanci zadané implementace MD5 algoritmu hash.

Create()

Zdroj:
MD5.cs
Zdroj:
MD5.cs
Zdroj:
MD5.cs
Zdroj:
MD5.cs
Zdroj:
MD5.cs

Vytvoří instanci výchozí implementace MD5 hash algoritmu.

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

Návraty

MD5

Nová instance hashového MD5 algoritmu.

Atributy

Výjimky

Algoritmus byl použit s povoleným režimem FIPS (Federal Information Processing Standards), ale není kompatibilní se standardem FIPS.

Viz také

Platí pro

Create(String)

Zdroj:
MD5.cs
Zdroj:
MD5.cs
Zdroj:
MD5.cs
Zdroj:
MD5.cs
Zdroj:
MD5.cs

Upozornění

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

Vytvoří instanci zadané implementace MD5 algoritmu 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

Parametry

algName
String

Název konkrétní implementace MD5 , která se má použít.

Návraty

MD5

Nová instance zadané implementace MD5.

Atributy

Výjimky

Algoritmus popsaný parametrem algName byl použit s povoleným režimem FIPS (Federal Information Processing Standards), ale není kompatibilní se standardem FIPS.

Poznámky

Možné hodnoty pro algName : System.Security.Cryptography.MD5, MD5, System.Security.Cryptography.MD5CryptoServiceProvidera System.Security.Cryptography.MD5Managed.

Viz také

Platí pro