SHA512::Create Method (String^)
Creates an instance of a specified implementation of SHA512.
Assembly: mscorlib (in mscorlib.dll)
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.
Available since 1.1