Page 1 of 1

do you know how to Encryption php code?

Posted: Thu Nov 22, 2007 7:45 pm
by yanglei1979
i want to Encryption my write phpcode, i can use zend guard.


can sombody Decryption the code?

Posted: Thu Nov 22, 2007 9:09 pm
by alex.barylski
Yes it's possible to decrypt - sorta.

It's not easy but the easiest way (from what I understand) is to use the PHP engine itself to basically reproduce the source. This would require a pretty intimate understanding of the PHP engine which not many people have.

Basically, your source isn't safe unless you host your software on a private server but the effort required to decrypt your code is far greater than simply re-writting the source from scratch.

I'm paranoid too, not so much my source code, but the time, effort and research I have invested in developing and then customizing and fine tuning the architecture for my web apps. I could honestly care less if someone seen I composed a quick SQL query because pretty much any yahoo with basic PHP experience can figure that out.

Posted: Fri Nov 23, 2007 7:26 pm
by yanglei1979
Hockey wrote:Yes it's possible to decrypt - sorta.

It's not easy but the easiest way (from what I understand) is to use the PHP engine itself to basically reproduce the source. This would require a pretty intimate understanding of the PHP engine which not many people have.

Basically, your source isn't safe unless you host your software on a private server but the effort required to decrypt your code is far greater than simply re-writting the source from scratch.

I'm paranoid too, not so much my source code, but the time, effort and research I have invested in developing and then customizing and fine tuning the architecture for my web apps. I could honestly care less if someone seen I composed a quick SQL query because pretty much any yahoo with basic PHP experience can figure that out.
thank you very much!

Posted: Fri Nov 23, 2007 8:16 pm
by s.dot
You're looking for obfuscation.

Posted: Sat Nov 24, 2007 3:44 am
by jmut
scottayy wrote:You're looking for obfuscation.
This sounds like some Jedi mind trick :)

Posted: Sat Nov 24, 2007 6:10 am
by superdezign
jmut wrote:
scottayy wrote:You're looking for obfuscation.
This sounds like some Jedi mind trick :)
It likely is one. :P

Posted: Sat Nov 24, 2007 10:46 am
by RobertGonzalez
I think he is looking for encrypting his code using something like ZendGuard or IonCube. They actually encrypt the PHP code then decrypt it for serving. It is kind of like an intellectual property protector.