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

HashAlgorithm Property

The hash algorithm used for hash computation.

Object Oriented Interface

public function getHashAlgorithm();
public function setHashAlgorithm($value);

Procedural Interface

ipworksencrypt_ecc_get($res, 1 );
ipworksencrypt_ecc_set($res, 1, $value );

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 (ehaSHA1 - default) SHA-1
1 (ehaSHA224) SHA-224
2 (ehaSHA256) SHA-256
3 (ehaSHA384) SHA-384
4 (ehaSHA512) SHA-512
5 (ehaMD2) MD2
6 (ehaMD4) MD4
7 (ehaMD5) MD5
8 (ehaMD5SHA1) MD5SHA-1
9 (ehaRIPEMD160) RIPEMD-160

Data Type

Integer

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