摘要 |
Disclosed is a program encryption method, which sets a key in an application program, and the application program is designed by a designer who uses an embedded Linux system as a platform, and the key is writeable but not readable by the application program, but a Linux kernel of the embedded Linux system can read the key and then code and compile the application program into an execute file. A file header is added in the execute file of the application program according to the key and a predefined conversion table, and contents of the file header performs a computation to disrupt contents of the execute file so as to protect the application program from being copied by users, and thus designers can feel ease to use the embedded Linux system to develop application programs.
|