Click to See Complete Forum and Search --> : Hide My PHP


BrutusUnix
06-13-2008, 07:04 AM
I want to encrypt my php code. I have looked at some by they use php to encrypt it. Is there an application that will work with php and apache to to encrypt the code? maybe an apache addon?

or what is a good way to encrypt the code? (Making live cd with a website on it but want to hide the php, portfolio)
thanks!!

Declan1991
06-13-2008, 10:13 AM
Whatever you do to encrypt your code, it will have to be unencrypted at some stage for the server to be able to interpret it. Because of that, it is utterly pointless trying to encrypt it because anyone with a reasonable knowledge of PHP can decrypt it.

What you can do is make your code very difficult to follow (still pointless), gzip it (pointless too), which will deter the user with very little knowledge. Can you not present you portfolio online?

NogDog
06-13-2008, 01:18 PM
Zend Guard (http://www.zend.com/en/products/guard/) is probably the most widely used that is not simply a bunch of PHP eval/base65_decode commands (which besides be decodable are a significant performance hit).

ayvegh
06-16-2008, 01:34 PM
Zend Guard (http://www.zend.com/en/products/guard/) is probably the most widely used that is not simply a bunch of PHP eval/base65_decode commands (which besides be decodable are a significant performance hit).
Pardon my non-knowledgeable-ness, but can you point me to a good description of base65?

NogDog
06-16-2008, 01:37 PM
Typo on my part, I meant base64_decode() (http://www.php.net/base64_decode).