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
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.