k2hpx_add_attr_crypt_pass
Adds the password to encrypt values
Description
bool k2hpx_add_attr_crypt_pass ( mixed $handle_res , string $encpass [, bool $is_default_encrypt ] )
Adds the password to encrypt values. The encrption algorithm is AES256.
Parameters
- handle_res
Specifies the k2hash (.k2h) file handle that k2hpx_open returns. - encpass
Specifies the password. - is_default_encrypt
Specifies true if always encrypt values, otherwise false
Return Values
Returns true on success or false on failure..
See Also
- K2hash::addAttrCryptPass - Adds the password to encrypt values