IP*Works! Encrypt V9 - Online Help
IP*Works! Encrypt V9
Questions / Feedback?

HashAlgorithm Property

The hash algorithm used for hash computation.

Syntax

int GetHashAlgorithm();

int SetHashAlgorithm(int iHashAlgorithm);

Possible Values

  DHA_SHA1(0), 
  DHA_SHA224(1), 
  DHA_SHA256(2), 
  DHA_SHA384(3), 
  DHA_SHA512(4), 
  DHA_RIPEMD160(5)

Default Value

0

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 - default) SHA-1
1 (dhaSHA224) SHA-224
2 (dhaSHA256) SHA-256
3 (dhaSHA384) SHA-384
4 (dhaSHA512) SHA-512
5 (dhaRIPEMD160) RIPEMD-160

Data Type

Integer

 
 
Copyright (c) 2017 /n software inc. - All rights reserved.
Build 9.0.6240.0