(PHP 5 >= 5.3.0, PHP 7)
Encrypts data
string openssl_encrypt ( string $data, string $method, string $password [, int $options = 0 [, string $iv = "" ]] )
Encrypts given data with given method and key, returns a raw or base64 encoded string
Parameters:
data
The data.
method
The cipher method.
password