SHA512.Create SHA512.Create SHA512.Create SHA512.Create Method

Definition

Allows specific implementations of this abstract class to be instantiated.

Overloads

Create() Create() Create() Create()

Creates an instance of the default implementation of SHA512.

Create(String) Create(String) Create(String) Create(String)

Creates an instance of a specified implementation of SHA512.

Create() Create() Create() Create()

Creates an instance of the default implementation of SHA512.

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

Returns

A new instance of SHA512.

Exceptions

The algorithm was used with Federal Information Processing Standards (FIPS) mode enabled, but is not FIPS compatible.

See also

Create(String) Create(String) Create(String) Create(String)

Creates an instance of a specified implementation of SHA512.

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

Parameters

hashName
String String String String

The name of the specific implementation of SHA512 to be used.

Returns

A new instance of SHA512 using the specified implementation.

Exceptions

The algorithm described by the hashName parameter was used with Federal Information Processing Standards (FIPS) mode enabled, but is not FIPS compatible.

Remarks

Possible values for hashName are SHA512, System.Security.Cryptography.SHA51, System.Security.Cryptography.SHA512Managed, and System.Security.Cryptography.SHA512CryptoServiceProvider.

See also

Applies to