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