Rijndael.Create 方法

定义

创建加密对象以执行 Rijndael 算法。

重载

Create()

创建加密对象以执行 Rijndael 算法。

Create(String)
已过时.

创建加密对象以执行 Rijndael 算法的指定实现。

Create()

Source:
Rijndael.cs
Source:
Rijndael.cs
Source:
Rijndael.cs

创建加密对象以执行 Rijndael 算法。

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

返回

一个加密对象。

属性

例外

使用算法时启用了美国联邦信息处理标准 (FIPS) 模式,但该算法与 FIPS 不兼容。

注解

的默认实现 RijndaelRijndaelManaged

另请参阅

适用于

Create(String)

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

参数

algName
String

要创建的 Rijndael 特定实现的名称。

返回

一个加密对象。

属性

例外

algName 参数描述的算法在使用中已启用联邦信息处理标准 (FIPS) 模式,但与 FIPS 不兼容。

注解

参数RijndaelalgName可接受值为 和 System.Security.Cryptography.RijndaelManaged

另请参阅

适用于