MD5.Create Metod

Definition

Tillåter att specifika implementeringar av den här abstrakta klassen skapas.

Överlagringar

Name Description
Create()

Skapar en instans av standardimplementeringen av hash-algoritmen MD5 .

Create(String)
Föråldrad.

Skapar en instans av den angivna implementeringen av hash-algoritmen MD5 .

Create()

Källa:
MD5.cs
Källa:
MD5.cs
Källa:
MD5.cs
Källa:
MD5.cs
Källa:
MD5.cs

Skapar en instans av standardimplementeringen av hash-algoritmen MD5 .

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

Returer

MD5

En ny instans av hash-algoritmen MD5 .

Attribut

Undantag

Algoritmen användes med FIPS-läge (Federal Information Processing Standards) aktiverat, men är inte FIPS-kompatibelt.

Se även

Gäller för

Create(String)

Källa:
MD5.cs
Källa:
MD5.cs
Källa:
MD5.cs
Källa:
MD5.cs
Källa:
MD5.cs

Varning

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

Skapar en instans av den angivna implementeringen av hash-algoritmen MD5 .

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

Parametrar

algName
String

Namnet på den specifika implementering som MD5 ska användas.

Returer

MD5

En ny instans av den angivna implementeringen av MD5.

Attribut

Undantag

Algoritmen som beskrivs av parametern algName användes med FIPS-läge (Federal Information Processing Standards) aktiverat, men är inte FIPS-kompatibelt.

Kommentarer

Möjliga värden för algName är: System.Security.Cryptography.MD5, MD5, System.Security.Cryptography.MD5CryptoServiceProvideroch System.Security.Cryptography.MD5Managed.

Se även

Gäller för