MD5.Create Méthode

Définition

Permet la création d’implémentations spécifiques de cette classe abstraite.

Surcharges

Nom Description
Create()

Crée une instance de l’implémentation par défaut de l’algorithme MD5 de hachage.

Create(String)
Obsolète.

Crée une instance de l’implémentation spécifiée de l’algorithme MD5 de hachage.

Create()

Source:
MD5.cs
Source:
MD5.cs
Source:
MD5.cs
Source:
MD5.cs
Source:
MD5.cs

Crée une instance de l’implémentation par défaut de l’algorithme MD5 de hachage.

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

Retours

MD5

Nouvelle instance de l’algorithme MD5 de hachage.

Attributs

Exceptions

L’algorithme a été utilisé avec le mode FIPS (Federal Information Processing Standards) activé, mais n’est pas compatible FIPS.

Voir aussi

S’applique à

Create(String)

Source:
MD5.cs
Source:
MD5.cs
Source:
MD5.cs
Source:
MD5.cs
Source:
MD5.cs

Attention

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

Crée une instance de l’implémentation spécifiée de l’algorithme MD5 de hachage.

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

Paramètres

algName
String

Nom de l’implémentation spécifique à MD5 utiliser.

Retours

MD5

Nouvelle instance de l’implémentation spécifiée de MD5.

Attributs

Exceptions

L’algorithme décrit par le algName paramètre a été utilisé avec le mode FIPS (Federal Information Processing Standards) activé, mais n’est pas compatible FIPS.

Remarques

Les valeurs possibles sont algName les suivantes : System.Security.Cryptography.MD5, MD5, System.Security.Cryptography.MD5CryptoServiceProvider, et System.Security.Cryptography.MD5Managed.

Voir aussi

S’applique à