HomePHP Page 3 - PHP Encryption and Decryption Methods
PHP Eval Function in Encoding Methods - PHP
PHP encryption is a method of obfuscating scripts in such a way that it offers additional protection and prevents unauthorized editing of the scripts. This article discusses both encryption and decryption.
Since the encrypted output is a string (after applying compression and base 64 encoding techniques), we need to tell PHP that the encoded string is indeed a script. To do this, we need to use the eval() function in PHP. The purpose of this function is to evaluate a string as a PHP code; you can research the details of the eval() function on your own.
The standard encoded PHP script (encrypted) takes a form similar to this example: