Print this page

phpMC : PHP MasterCrypt

PHP MasterCrypt - phpMC can encrypt any chuck of PHP code onto a complex unreadable PHP code. It is useful to protect your sensitive data like username/password or your whole PHP script. It virtually makes impossible to decrypt those encrypted codes. It basically obfuscates and encrypts the PHP code using a very complex algorithm and that code cannot be edited or changed by anyone.

All of us know that PHP is a scripting language, and it is not stored in a compiled form on the server. So any one who has access to your PHP script(server side) can easily steal your valuable codes in it. This problem becomes more prominent when you are a PHP developer or programmer and you need to distribute your script on the net or to your clients.

So, the solution is PHP MasterCrypt. The encrypted code by phpMC makes it impossible to edit/view/change your script by anyone, even if someone has the full access to your script. You can safely distribute the encrypted script on the net or to anyone. The encoded script is completely secure and may contain sensitive data like username and password. The encrypted code by phpMC is compatible with any environment having PHP4.0+ and it is completely standalone, so it don’t need anything extra to be installed/modified or present on the server where it will execute.

Run phpMC

Key Feature

  • Can Encrypt any PHP scripts. It may even contain HTML,Javascript,CSS etc.
  • Runs on any environment having PHP 4 or above.
  • Offers two types of encryption and encoding method which can be used together for better security.
  • Allows optionally set expiry date for encoded script. So, can create trial version of the script
  • Allows optionally set Username/Password for your script. Which will require login information each time it will execute.
  • Allows optionally set domain locking. The script can be set to work with specific domain only.
  • Allows optionally set IP range locking. The script can be set to block/allow a certain IP range only.
  • Custom error message can be set for expiy, IP locking and domain locking.
  • The level of security can be set by the user.
  • Requires no extra installation/modification or addition of separate files on your server to execute.
  • Can encrypt a portion of a script or any include file. No changes are needed in rest of the file or any other files which are related to that code. The variable names and function names will remain unchanged in encrypted code.


  • PHP version 4.0 or above.

Warning: This is one way encryption, once a script is encrypted, it can not be reversed back or decrypted. So, retain your original copy of script. No request for decryption shall be entertained by Admin or Author under any circumstances.