openssl_decrypt()
openssl_decrypt - Decrypts data
Syntax
string openssl_decrypt (
string $data,
string $method,
string $password,
string $raw_input)
Arguments
- data - The data.
- method - The cipher method.
- password - The password.
- raw_input - Setting to TRUE will take a raw encoded string, otherwise a base64 string is assumed for the data parameter.
Description
Takes a raw or base64 encoded string and decrypts it using a given method and key.
Version
PHP 5.3.0
Return value
The decrypted string on success or FALSE on failure.