SHA256.Create Method ()

 

Creates an instance of the default implementation of SHA256.

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

public static SHA256 Create()

Return Value

Type: System.Security.Cryptography.SHA256

A new instance of SHA256.

Exception Condition
TargetInvocationException

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

.NET Framework
Available since 1.1
Return to top
Show: