SHA512.Create Metod
Definition
Viktigt
En del information gäller för förhandsversionen av en produkt och kan komma att ändras avsevärt innan produkten blir allmänt tillgänglig. Microsoft lämnar inga garantier, uttryckliga eller underförstådda, avseende informationen som visas här.
Tillåter att specifika implementeringar av den här abstrakta klassen instansieras.
Överlagringar
| Name | Description |
|---|---|
| Create() |
Skapar en instans av standardimplementeringen av SHA512. |
| Create(String) |
Föråldrad.
Skapar en instans av en angiven implementering av SHA512. |
Create()
- Källa:
- SHA512.cs
- Källa:
- SHA512.cs
- Källa:
- SHA512.cs
- Källa:
- SHA512.cs
- Källa:
- SHA512.cs
Skapar en instans av standardimplementeringen av 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
Returer
En ny instans av SHA512.
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:
- SHA512.cs
- Källa:
- SHA512.cs
- Källa:
- SHA512.cs
- Källa:
- SHA512.cs
- Källa:
- SHA512.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 en angiven implementering av 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
Parametrar
Returer
En ny instans av SHA512 att använda den angivna implementeringen.
- Attribut
Undantag
Algoritmen som beskrivs av parametern hashName användes med FIPS-läge (Federal Information Processing Standards) aktiverat, men är inte FIPS-kompatibelt.
Kommentarer
Möjliga värden för hashName är SHA512, System.Security.Cryptography.SHA512, System.Security.Cryptography.SHA512Managed och System.Security.Cryptography.SHA512CryptoServiceProvider.