do you know how to Encryption php code?

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
yanglei1979
Forum Commoner
Posts: 38
Joined: Sat Aug 25, 2007 10:21 pm

do you know how to Encryption php code?

Post by yanglei1979 »

i want to Encryption my write phpcode, i can use zend guard.


can sombody Decryption the code?
alex.barylski
DevNet Evangelist
Posts: 6267
Joined: Tue Dec 21, 2004 5:00 pm
Location: Winnipeg

Post 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.
yanglei1979
Forum Commoner
Posts: 38
Joined: Sat Aug 25, 2007 10:21 pm

Post 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!
User avatar
s.dot
Tranquility In Moderation
Posts: 5001
Joined: Sun Feb 06, 2005 7:18 pm
Location: Indiana

Post by s.dot »

You're looking for obfuscation.
Set Search Time - A google chrome extension. When you search only results from the past year (or set time period) are displayed. Helps tremendously when using new technologies to avoid outdated results.
jmut
Forum Regular
Posts: 945
Joined: Tue Jul 05, 2005 3:54 am
Location: Sofia, Bulgaria
Contact:

Post by jmut »

scottayy wrote:You're looking for obfuscation.
This sounds like some Jedi mind trick :)
User avatar
superdezign
DevNet Master
Posts: 4135
Joined: Sat Jan 20, 2007 11:06 pm

Post by superdezign »

jmut wrote:
scottayy wrote:You're looking for obfuscation.
This sounds like some Jedi mind trick :)
It likely is one. :P
User avatar
RobertGonzalez
Site Administrator
Posts: 14293
Joined: Tue Sep 09, 2003 6:04 pm
Location: Fremont, CA, USA

Post 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.
Post Reply