base\Security decryptByPassword()

decryptByPassword() public method

Verifies and decrypts data encrypted with encryptByPassword().

See also encryptByPassword().

public boolean|string decryptByPassword ( $data, $password )
$data string

The encrypted data to decrypt

$password string

The password to use for decryption

return boolean|string

The decrypted data or false on authentication failure

doc_Yii
2016-10-30 16:52:19
Comments
Leave a Comment

Please login to continue.