SHA1.Create Yöntem

Tanım

Bu soyut sınıfın belirli uygulamalarının örneğini oluşturmasına izin verir.

Aşırı Yüklemeler

Create()

varsayılan uygulamasının bir örneğini SHA1oluşturur.

Create(String)
Geçersiz.

Belirtilen uygulamasının bir örneğini SHA1oluşturur.

Create()

Kaynak:
SHA1.cs
Kaynak:
SHA1.cs
Kaynak:
SHA1.cs

varsayılan uygulamasının bir örneğini SHA1oluşturur.

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

Döndürülenler

Yeni bir SHA1 örneği.

Açıklamalar

varsayılan uygulaması SHA1 şeklindedir SHA1CryptoServiceProvider.

Ayrıca bkz.

Şunlara uygulanır

Create(String)

Kaynak:
SHA1.cs
Kaynak:
SHA1.cs
Kaynak:
SHA1.cs

Dikkat

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

Belirtilen uygulamasının bir örneğini SHA1oluşturur.

public:
 static System::Security::Cryptography::SHA1 ^ Create(System::String ^ hashName);
public static System.Security.Cryptography.SHA1? Create (string hashName);
[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);
static member Create : string -> System.Security.Cryptography.SHA1
[<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
Public Shared Function Create (hashName As String) As SHA1

Parametreler

hashName
String

Kullanılacak belirli uygulamasının SHA1 adı.

Döndürülenler

Belirtilen uygulamayı kullanmanın yeni bir örneği SHA1 .

Öznitelikler

Açıklamalar

SHA1 ile ilgili çakışma sorunları nedeniyle Microsoft SHA256 veya üzerini temel alan bir güvenlik modeli önerir.

Ayrıca bkz.

Şunlara uygulanır