KDFHashAlgorithm Property
The KDF hash algorithm to use when encrypting and decrypting.
Object Oriented Interface
public function getKDFHashAlgorithm(); public function setKDFHashAlgorithm($value);
Procedural Interface
ipworksencrypt_ecc_get($res, 12 ); ipworksencrypt_ecc_set($res, 12, $value );
Default Value
2
Remarks
This property specifies the hash algorithm to use in when deriving a key using the specified KDF. Possible values are:
- 0 (iesSHA1)
- 1 (iesSHA224)
- 2 (iesSHA256)
- 3 (iesSHA384)
- 4 (iesSHA512)
This property is only applicable when calling Encrypt or Decrypt.
Data Type
Integer