-5

Here goes my question I just started to investigate some of the php's methods to create Encrypted strings , and surprisingly I found quite alot .

Md5 , Sha1 , base64 , salts, str_replace(which isnt even of an encryptor ) etc etc. But here is my Real Question - Can i create similar to those CODE encryptors. Atm i can convert only strings,is it possable encrypt my whole PHP source code then decrypt it (with my own enccryptor) and run the Code . Sth like that - . Most of those i found are easily reversable.

Thx in advance!

user2742982
  • 21
  • 2
  • 5

1 Answers1

1

There is no point in "encrypting" your code. Don't make too much a deal of it. There are billions of lines of freely available PHP code already. Anyone could have any code they want. So, just take it easy and put your efforts in improving your code instead of encoding it.

Your Common Sense
  • 156,878
  • 40
  • 214
  • 345
  • I am going to sell that , I forgot to mention that above. And i dont really want it to be stolen or re-sold to otherppl ! – user2742982 Sep 03 '13 at 12:38
  • 1
    Frankly, I don't think your code is worth stealing it. – Your Common Sense Sep 03 '13 at 12:42
  • The best safeguard against code theft isn't obfuscation or encryption, it's a legal license that you're prepared to defend – Mark Baker Sep 03 '13 at 12:45
  • How did you figure !? Licenses - i wont go there - atm ! – user2742982 Sep 03 '13 at 12:45
  • 2
    How do I figure? Experience, knowing how much aggravation and strife are caused to legitimate users by encrypted code compared to cost in defending licensed code against piracy – Mark Baker Sep 03 '13 at 14:02
  • Ok let me put it that way ! Here is simple example of what i want to do . . I want to encode the "text" as it is in php code and then when i implement it in my decoder to decode it and RUN it . How can i RUN it when it gets decoded ? Say like echo (); -> to run as normal php code in browser and show me 123. – user2742982 Sep 03 '13 at 14:29