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