SHA512.Create Metoda

Definicja

Umożliwia utworzenie wystąpienia określonych implementacji tej klasy abstrakcyjnej.

Przeciążenia

Nazwa Opis
Create()

Tworzy wystąpienie domyślnej implementacji .SHA512

Create(String)
Przestarzałe.

Tworzy wystąpienie określonej implementacji klasy SHA512.

Create()

Źródło:
SHA512.cs
Źródło:
SHA512.cs
Źródło:
SHA512.cs
Źródło:
SHA512.cs
Źródło:
SHA512.cs

Tworzy wystąpienie domyślnej implementacji .SHA512

public:
 static System::Security::Cryptography::SHA512 ^ Create();
public static System.Security.Cryptography.SHA512 Create();
static member Create : unit -> System.Security.Cryptography.SHA512
Public Shared Function Create () As SHA512

Zwraca

Nowe wystąpienie klasy SHA512.

Wyjątki

Algorytm był używany z włączonym trybem Federal Information Processing Standards (FIPS), ale nie jest zgodny ze standardem FIPS.

Zobacz też

Dotyczy

Create(String)

Źródło:
SHA512.cs
Źródło:
SHA512.cs
Źródło:
SHA512.cs
Źródło:
SHA512.cs
Źródło:
SHA512.cs

Uwaga

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

Tworzy wystąpienie określonej implementacji klasy SHA512.

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

Parametry

hashName
String

Nazwa konkretnej implementacji, która SHA512 ma być używana.

Zwraca

Nowe wystąpienie SHA512 użycia określonej implementacji.

Atrybuty

Wyjątki

Algorytm opisany przez hashName parametr został użyty z włączonym trybem Federal Information Processing Standards (FIPS), ale nie jest zgodny ze standardem FIPS.

Uwagi

Możliwe wartości hashName to SHA512, System.Security.Cryptography.SHA512, System.Security.Cryptography.SHA512Managed i System.Security.Cryptography.SHA512CryptoServiceProvider.

Zobacz też

Dotyczy