IPWorks Encrypt 2020 PHP Edition

Questions / Feedback?

HashAlgorithm Property

The hash algorithm used for signing and signature verification.

Object Oriented Interface

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

Procedural Interface

ipworksencrypt_rsa_get($res, 6 );
ipworksencrypt_rsa_set($res, 6, $value );

Default Value

2

Remarks

This property specifies the hash algorithm used for signing and signature verification. Possible values are:

0 (rhaSHA1) SHA-1
1 (rhaSHA224) SHA-224
2 (rhaSHA256 - default) SHA-256
3 (rhaSHA384) SHA-384
4 (rhaSHA512) SHA-512
5 (rhaRIPEMD160) RIPEMD-160
6 (rhaMD2) MD2
7 (rhaMD5) MD5
8 (rhaMD5SHA1) MD5SHA1

Data Type

Integer

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks Encrypt 2020 PHP Edition - Version 20.0 [Build 8155]