I wrote a PHP source code encryption problem.

Source: Internet
Author: User
I wrote a PHP source code encryption problem. recently, the company gave me a question about PHP source code encryption, I still use 3DES to write an algorithm to encrypt the source code. when the program is running, the source code is decrypted, and the 3des key is stored in the encryption lock (IA300 of Longmai). now the problem is coming, the decrypted code writes a PHP source code encryption problem on its own.
Recently, the company gave me a question about PHP source code encryption. if you want to use 3DES to write an algorithm to encrypt the source code, when the program is running, the source code is decrypted, and the 3des key is stored in the encryption lock (IA300 of Longmai). The problem is that the decrypted code is only a value that does not run. what should I do? It is different from what I want to decrypt and continue running. how can this problem be solved? Don't use the Zend compiler and those open source compilers. the intensity is too low. thank you ....

------ Solution --------------------
Eval
------ Solution --------------------
Eval ('phpinfo ();');

Use eval

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.