KeyPassword Property
A password to generate the Key and IV .
Object Oriented Interface
public function getKeyPassword(); public function setKeyPassword($value);
Procedural Interface
ipworksencrypt_cast_get($res, 6 ); ipworksencrypt_cast_set($res, 6, $value );
Default Value
''
Remarks
When this property is set the class will calculate values for Key and IV using the PKCS5 password digest algorithm. This provides a simpler alternative to creating and managing Key and IV values directly.
The size of the Key generated is dependent on the value of KeySize.
Data Type
String