Polymorphic Algorithm of JavaScript Code Protection
Jiancheng Qin, Zhongying Bai, Yuan Bai · 2008
As a common language in the Web sites, JavaScript helps to make various dynamic Web pages. But it¿s more difficult to protect JavaScript source codes than to protect Java or C/C++ programs, because JavaScript codes can¿t be compiled into byte or binary codes. This paper discusses the obfuscation method to protect source codes of script languages like JavaScript, and provides a algorithm by using the reference design of the polymorphic viruses to make the random encryption. This algorithm named ¿parhelion¿ has been applied to a set of software of Web page encryption, and a Web-based information security system. The paper also gives the examples to show the effect of the protection.