Class SHA256
- Namespace
- System.Security.Cryptography
- Assembly
- nanoFramework.Azure.Devices.Client.dll
Computes the SHA256 hash for the input data.
public class SHA256
- Inheritance
-
SHA256
- Inherited Members
- Extension Methods
Constructors
SHA256()
Initializes a new instance of SHA256.
protected SHA256()
Methods
ComputeHash(byte[])
Compute SHA-256 digest
public byte[] ComputeHash(byte[] input)
Parameters
input
byte[]Input array
Returns
- byte[]
The computed SHA256
Create()
Creates an instance of the default implementation of System.Security.Cryptography.SHA256.
public static SHA256 Create()