SHA1.Create メソッド

定義

この抽象クラスの特定の実装をインスタンス化できるようにします。

オーバーロード

名前 説明
Create()

SHA1の既定の実装のインスタンスを作成します。

Create(String)
古い.

SHA1の指定した実装のインスタンスを作成します。

Create()

ソース:
SHA1.cs
ソース:
SHA1.cs
ソース:
SHA1.cs
ソース:
SHA1.cs
ソース:
SHA1.cs

SHA1の既定の実装のインスタンスを作成します。

public:
 static System::Security::Cryptography::SHA1 ^ Create();
public static System.Security.Cryptography.SHA1 Create();
static member Create : unit -> System.Security.Cryptography.SHA1
Public Shared Function Create () As SHA1

返品

SHA1の新しいインスタンス。

注釈

SHA1の既定の実装はSHA1CryptoServiceProvider

こちらもご覧ください

適用対象

Create(String)

ソース:
SHA1.cs
ソース:
SHA1.cs
ソース:
SHA1.cs
ソース:
SHA1.cs
ソース:
SHA1.cs

注意事項

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

SHA1の指定した実装のインスタンスを作成します。

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

パラメーター

hashName
String

使用する SHA1 の特定の実装の名前。

返品

指定した実装を使用する SHA1 の新しいインスタンス。

属性

注釈

SHA-1 の競合の問題により、Microsoft では SHA-256 以上に基づくセキュリティ モデルをお勧めします。

こちらもご覧ください

適用対象