SHA256.Create 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
이 추상 클래스의 특정 구현을 인스턴스화할 수 있습니다.
오버로드
| Name | Description |
|---|---|
| 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. .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);
static member Create : string -> System.Security.Cryptography.SHA256
Public Shared Function Create (hashName As String) As SHA256
매개 변수
반품
지정된 구현을 SHA256 사용하는 새 인스턴스입니다.
예외
.NET 프레임워크에서만: FIPS 모드가 사용되지만 FIPS와 호환되지 않는 hashName 요청 SHA256Managed.
설명
.NET Framework에는 구현 및 관련 hashName 값이 포함됩니다.
| Implementation | hashName |
|---|---|
| SHA256Managed | SHA256 SHA-256 System.Security.Cryptography.SHA256 |
| SHA256Cng | System.Security.Cryptography.SHA256Cng |
| SHA256CryptoServiceProvider | System.Security.Cryptography.SHA256CryptoServiceProvider |