語言

Rijndael.Create 方法

定義

建立一個密碼物件來執行演算法 Rijndael 。

多載

名稱 Description
Create()

建立一個密碼物件來執行演算法 Rijndael 。

Create(String)
已淘汰.

建立一個密碼物件以執行演算法指定的實作 Rijndael 。

Create()

來源:
Rijndael.cs
來源:
Rijndael.cs
來源:
Rijndael.cs
來源:
Rijndael.cs
來源:
Rijndael.cs

建立一個密碼物件來執行演算法 Rijndael 。

public:
 static System::Security::Cryptography::Rijndael ^ Create();
[System.Runtime.Versioning.UnsupportedOSPlatform("browser")]
public static System.Security.Cryptography.Rijndael Create();
public static System.Security.Cryptography.Rijndael Create();
[<System.Runtime.Versioning.UnsupportedOSPlatform("browser")>]
static member Create : unit -> System.Security.Cryptography.Rijndael
static member Create : unit -> System.Security.Cryptography.Rijndael
Public Shared Function Create () As Rijndael

傳回

一個密碼學物件。

屬性

例外狀況

該演算法在啟用聯邦資訊處理標準(FIPS)模式下使用,但不相容於FIPS。

備註

預設 Rijndael 實作為 RijndaelManaged。

另請參閱

適用於

Create(String)

來源:
Rijndael.cs
來源:
Rijndael.cs
來源:
Rijndael.cs
來源:
Rijndael.cs
來源:
Rijndael.cs

警告

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

建立一個密碼物件以執行演算法指定的實作 Rijndael 。

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

參數

algName
String

具體實作 Rijndael 名稱。

傳回

一個密碼學物件。

屬性

例外狀況

參數所描述 algName 的演算法在啟用聯邦資訊處理標準(FIPS)模式下使用,但不相容於 FIPS。

備註

參數的可接受值 algName 為 Rijndael 和 System.Security.Cryptography.RijndaelManaged。

另請參閱

適用於