Class CpSHA256
Computes the SHA256 hash for the input data.
Inherited Members
Namespace: CryptoPro.Security.Cryptography
Assembly: CryptoPro.Security.Cryptography.dll
Syntax
public abstract class CpSHA256 : HashAlgorithm, ICryptoTransform, IDisposable
Constructors
CpSHA256()
Initializes a new instance of CpSHA256.
Declaration
protected CpSHA256()
Fields
HashSizeInBits
The hash size produced by the SHA256 algorithm, in bits.
Declaration
public const int HashSizeInBits = 256
Field Value
Type | Description |
---|---|
int |
HashSizeInBytes
The hash size produced by the SHA256 algorithm, in bytes.
Declaration
public const int HashSizeInBytes = 32
Field Value
Type | Description |
---|---|
int |
Methods
Create()
Create a default implementation of SHA256 hash algorithm.
Declaration
public static CpSHA256 Create()
Returns
Type | Description |
---|---|
CpSHA256 |