PHP Classes
elePHPant
Icontem

PHP Ghost Crypt: Encrypt PHP code and generate self decrypting code

Recommend this page to a friend!
  Info   View files Example   View files View files (5)   DownloadInstall with Composer Download .zip   Reputation   Support forum (12)   Blog (1)    
Last Updated Ratings Unique User Downloads Download Rankings
2015-12-01 (4 years ago) RSS 2.0 feedStarStarStarStar 64%Total: 910 All time: 3,841 This week: 318Up
Version Licenses PHP version Categories
ghost 2.6Artistic License, G...5.3.3PHP 5, Cryptography, Code Generation
Description Author

This class can encrypt PHP code and generate self decrypting code.

It can take a given PHP script and encrypts its code with a given key.

The class generates an output script that contains the encrypted code in comment lines starting with #:# and code to decrypt and execute the encrypted code.

Recommendations
Innovation Award
PHP Programming Innovation award nominee
November 2015
Number 2
Sometimes it is necessary to obfuscate the code of PHP scripts to make it harder for non-expert users to understand what the code does or change it.

This class can obfuscate PHP scripts by encrypting the code and generating a script that when executed will decrypt the code and execute it like the original version of the script.

Manuel Lemos
  Performance   Level  
Name: Nick Daniels <contact>
Classes: 13 packages by
Country: United States United States
Age: 29
All time rank: 1177156 in United States United States
Week rank: 93 Up7 in United States United States Up
Innovation award
Innovation award
Nominee: 4x

Winner: 1x

 

  Files folder image Files  
File Role Description
Accessible without login Plain text file example.php Example Example File
Plain text file GhostCrypt.class.php Class GhostCrypt Class File
Plain text file GhostHash.class.php Class GhostHash Class File
Accessible without login Plain text file infile.enc.php Output Example Infile encrypted
Accessible without login Plain text file infile.php Aux. Example Infile to encrypt

 Version Control Reuses Unique User Downloads Download Rankings  
 0%1
Total:910
This week:0
All time:3,841
This week:318Up
User Ratings User Comments (1)
 All time
Utility:92%StarStarStarStarStar
Consistency:89%StarStarStarStarStar
Documentation:-
Examples:89%StarStarStarStarStar
Tests:-
Videos:-
Overall:64%StarStarStarStar
Rank:902
 
awesome
3 years ago (Haseeb Ahmad Basil)
50%StarStarStar