string openssl_decrypt ( string $data , string $method , string $password [, bool $raw_input = false [, string $iv = "" ]] )
Decrypts data
Takes a raw or base64 encoded string and decrypts it using a given method and key.
5.3.3 The iv parameter was added.
How to encrypt and decrypt files using OpenSSL