Article author: icyfoxlovelace / ice fox prodigal son [EST] Source: "hacker defense" This paper describes a total of seven methods: First: The simplest encryption and decryption two: the escape character "/" Magical 3: Use Microsoft produced script Encoder Script Encoder to encode (self-created simple decoding) 4: Adding NUL empty characters (sixteen into 00H) (Homemade) 5: Useless content chaos and wrap space TAB Dafa six: self-write decryption function The wrong use (Homemade) is when doing a web page (actually a webpage, huhahe), the most troublesome is that the JavaScript code that I've running out of the client IE is often used by others to copy, really make your own I am not a taste in my heart, I know that I have written some things ... ^ * ^ But we should clearly recognize that because JavaScript code is explained in IE, it is impossible to confidently What we have to do is to increase the difficulty of copyers copied, let him know the difficulties (I hope ~! ~), Let me combine the practice of myself, and personal research, and everyone Let's discuss the encryption decryption technology of JavaScript code in the web page. Take the JavaScript code encrypted as follows: