SHA256.Create 메서드

정의

앞으로 초기화할 이 추상 클래스의 특정한 구현을 허락합니다.

오버로드

Create()

SHA256의 기본 구현 인스턴스를 만듭니다.

Create(String)

SHA256의 지정된 구현 인스턴스를 만듭니다.

Create()

SHA256의 기본 구현 인스턴스를 만듭니다.

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

반환

SHA256

SHA256의 새 인스턴스입니다. .NET Framework에서 FIPS 모드가 활성화되어 있지 않으면 이 메서드는 SHA256Managed 클래스의 인스턴스를 만듭니다. FIPS 모드가 활성화되어 있으면 SHA256Cng 클래스의 인스턴스가 만들어집니다. .NET Core에서는 SHA256에서 파생된 개인 클래스의 인스턴스를 반환합니다.

예외

.NET Framework 4.6.1 및 이전 버전에만 해당: FIPS(Federal Information Processing Standards) 모드를 사용하도록 설정한 상태에서 알고리즘이 사용되었지만 이 알고리즘이 FIPS와 호환되지 않는 경우

추가 정보

적용 대상

Create(String)

SHA256의 지정된 구현 인스턴스를 만듭니다.

public:
 static System::Security::Cryptography::SHA256 ^ Create(System::String ^ hashName);
public static System.Security.Cryptography.SHA256? Create (string hashName);
public static System.Security.Cryptography.SHA256 Create (string hashName);
static member Create : string -> System.Security.Cryptography.SHA256
Public Shared Function Create (hashName As String) As SHA256

매개 변수

hashName
String

사용할 SHA256의 특정 구현 이름입니다.

반환

SHA256

지정된 구현을 사용하는 SHA256입니다.

예외

.NET Framework만 해당: FIPS 모드가 활성화되어 있지만, hashName 요청은 SHA256Managed FIPS와 호환되지 않습니다.

설명

.NET Framework 구현 및 연결된 hashName 값이 포함됩니다.

구현 hashName
SHA256Managed SHA256
SHA-256
System.Security.Cryptography.SHA256
SHA256Cng System.Security.Cryptography.SHA256Cng
SHA256CryptoServiceProvider System.Security.Cryptography.SHA256CryptoServiceProvider

추가 정보

적용 대상