Script Garage

 

Does encrypting PHP scripts affect the code execution speed?

Public Comments

  1. It probably will, i has to take extra steps
  2. Well yea, it has to decode it before it can run it, and every step takes time.
  3. Yes, but in order to find out how much does it really slow your script down, depends on the encrypting methods you use.
  4. Encryption is only is way to protect your code from being stolen by hackers. In order to do this you need to use an algorithm to scramble the code and make it unreadable but then when you read it each time you should apply a reverse process to descramble the code. That sure is a performance hit. How do they affect depends on the scale of your application and how critical are waits times for users. A bit subjective. Sometimes you wait a fraction of a second just because your profile is being analyzed by some ad company to generate a custom page for you, then this cost is substantiated by the customer satisfaction you acheive at the end.
  5. Yes.
Powered by Yahoo! Answers