MD5.Create 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
允許建立此抽象類別的特定實作。
多載
| 名稱 | Description |
|---|---|
| Create() |
建立雜湊演算法預設實作 MD5 的實例。 |
| Create(String) |
已淘汰.
建立該雜湊演算法指定實作 MD5 的實例。 |
Create()
- 來源:
- MD5.cs
- 來源:
- MD5.cs
- 來源:
- MD5.cs
- 來源:
- MD5.cs
- 來源:
- MD5.cs
建立雜湊演算法預設實作 MD5 的實例。
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
傳回
雜湊演算法的新實例 MD5 。
- 屬性
例外狀況
該演算法在啟用聯邦資訊處理標準(FIPS)模式下使用,但不相容於FIPS。
另請參閱
適用於
Create(String)
- 來源:
- MD5.cs
- 來源:
- MD5.cs
- 來源:
- MD5.cs
- 來源:
- MD5.cs
- 來源:
- MD5.cs
警告
Cryptographic factory methods accepting an algorithm name are obsolete. Use the parameterless Create factory method on the algorithm type instead.
建立該雜湊演算法指定實作 MD5 的實例。
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
參數
傳回
指定實作 MD5的新實例。
- 屬性
例外狀況
參數所描述 algName 的演算法在啟用聯邦資訊處理標準(FIPS)模式下使用,但不相容於 FIPS。
備註
可能的algName值有:System.Security.Cryptography.MD5、 MD5System.Security.Cryptography.MD5CryptoServiceProviderSystem.Security.Cryptography.MD5Managed和 。