-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!

5
  • Md5 , Sha1 , base64 is not encryption... Commented Sep 3, 2013 at 12:27
  • The problem is not if you can, I think it is more like when, and maybe why. Please explain it a lit better. Commented Sep 3, 2013 at 12:28
  • @l̕aͨŵƦȆ̴̟̟͙̞ͩ͌͝ƞCͭ̏ȇƇhƐȓ0nè: base64 is.. OP: search and thee shall find, PHP code encryption/obfuscation is asked for quite a lot. Commented Sep 3, 2013 at 12:29
  • Base 64 is like 10 secs from decoding ! Commented Sep 3, 2013 at 12:39
  • Anyways use bytecode encoder like ioncube, Zend Guard or SourceGuardian, code obfuscation does not work despite what the authors says Commented Sep 3, 2013 at 12:47

1 Answer 1

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.

Sign up to request clarification or add additional context in comments.

6 Comments

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 !
Frankly, I don't think your code is worth stealing it.
The best safeguard against code theft isn't obfuscation or encryption, it's a legal license that you're prepared to defend
How did you figure !? Licenses - i wont go there - atm !
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
|

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.