decryptByKey() public method
Verifies and decrypts data encrypted with encryptByKey().
See also encryptByKey().
| public boolean|string decryptByKey ( $data, $inputKey, $info = null ) | ||
|---|---|---|
| $data | string |
The encrypted data to decrypt |
| $inputKey | string |
The input to use for encryption and authentication |
| $info | string |
Optional context and application specific information, see hkdf() |
| return | boolean|string |
The decrypted data or false on authentication failure |
Please login to continue.