← Interactive API Explorer
Namespace: System.Security.Cryptography

SHA256

Computes the SHA256 hash for the input data.

Methods (1)

SHA256 Create
Creates an instance of the default implementation of SHA256.
Returns: A new instance of SHA256. On the .NET Framework, this method creates an instance of the SHA256Managed class if FIPS mode is not active; if FIPS mode is active, it creates an instance of the SHA256Cng class. On .NET Core, it returns an instance of a private class derived from SHA256.