Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

SHA512::Create Method (String^)

 

Creates an instance of a specified implementation of SHA512.

Namespace:   System.Security.Cryptography
Assembly:  mscorlib (in mscorlib.dll)

public:
static SHA512^ Create(
	String^ hashName
)

Parameters

hashName
Type: System::String^

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

Return Value

Type: System.Security.Cryptography::SHA512^

A new instance of SHA512 using the specified implementation.

Exception Condition
TargetInvocationException

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

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

.NET Framework
Available since 1.1
Return to top
Show:
© 2017 Microsoft