SHA1.Create Methode

Definition

Ermöglicht die Instanziierung bestimmter Implementierungen dieser abstrakten Klasse.

Überlädt

Name Beschreibung
Create()

Erstellt eine Instanz der Standardimplementierung von SHA1.

Create(String)
Veraltet.

Erstellt eine Instanz der angegebenen Implementierung von SHA1.

Create()

Quelle:
SHA1.cs
Quelle:
SHA1.cs
Quelle:
SHA1.cs
Quelle:
SHA1.cs
Quelle:
SHA1.cs

Erstellt eine Instanz der Standardimplementierung von 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

Gibt zurück

Eine neue Instanz von SHA1.

Hinweise

Die Standardimplementierung lautet SHA1SHA1CryptoServiceProvider.

Weitere Informationen

Gilt für:

Create(String)

Quelle:
SHA1.cs
Quelle:
SHA1.cs
Quelle:
SHA1.cs
Quelle:
SHA1.cs
Quelle:
SHA1.cs

Achtung

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

Erstellt eine Instanz der angegebenen Implementierung von 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

Parameter

hashName
String

Der Name der spezifischen Implementierung, die SHA1 verwendet werden soll.

Gibt zurück

Eine neue Instanz der SHA1 Verwendung der angegebenen Implementierung.

Attribute

Hinweise

Aufgrund von Kollisionsproblemen mit SHA-1 empfiehlt Microsoft ein Sicherheitsmodell, das auf SHA-256 oder höher basiert.

Weitere Informationen

Gilt für: