HashAlgorithm Property
The hash algorithm used for hash computation.
Syntax
property HashAlgorithm: TipcDSAHashAlgorithms read get_HashAlgorithm write set_HashAlgorithm;
TipcDSAHashAlgorithms = ( dhaSHA1, dhaSHA224, dhaSHA256, dhaSHA384, dhaSHA512, dhaRIPEMD160 );
Default Value
dhaSHA256
Remarks
This property specifies the hash algorithm used for hash computation. This is only applicable when calling Sign or VerifySignature and HashValue is computed. Possible values are:
0 (dhaSHA1) | SHA-1 |
1 (dhaSHA224) | SHA-224 |
2 (dhaSHA256 - default) | SHA-256 |
3 (dhaSHA384) | SHA-384 |
4 (dhaSHA512) | SHA-512 |
5 (dhaRIPEMD160) | RIPEMD-160 |