View Full Version : encrypt php codes

10-28-2009, 10:45 AM
how to encrypt php codes?
I tried to google and the answer is to use premium software.

any suggestions?


10-28-2009, 03:31 PM
do you mean you want to encrypt info (passwords, sensitive documents, etc) using php, or you want to encrypt the code itself?

If you're talking about encrypting data, look here (http://www.google.com/search?hl=en&source=hp&q=php+symmetric+encryption&aq=0&oq=php+symm&aqi=g1). "Symmetric encryption" is what you need, and there are php libraries that provide several good methods of doing it.

If you're talking about "protecting" your code, read this thread. PHP is behind the scenes anyway, though, so unless your server is compromised there's no way anyone will ever see it anyway.