Rijndael.Create 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
创建加密对象以执行 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 不兼容。
注解
的默认实现 Rijndael 为 RijndaelManaged。
另请参阅
适用于
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
参数描述的算法在使用中已启用联邦信息处理标准 (FIPS) 模式,但与 FIPS 不兼容。
注解
参数Rijndael
的algName
可接受值为 和 System.Security.Cryptography.RijndaelManaged
。