JScript.Encode

From Wikipedia, the free encyclopedia

Template:Short description JScript.Encode is a method created by Microsoft used to obfuscate both server and Client-side JavaScript or VB Script source code in order to protect the source code from copying.[1] JavaScript code is used for creating dynamic web content on many websites, with the source code easily viewable, so this was meant to protect the code.

The encoding is a simple polyalphabetic substitution using three alphabets.[2]

How to use

A command line script encoder can be used to encode scripts.[1][3] To encode a HTML web-page file called Page Template:Mono/styles.css has no content.default.htm, use the following command:

screnc.exe default.htm defaultenc.htm

It would output to a file called Page Template:Mono/styles.css has no content.defaultenc.htm.

Weaknesses

It has been reverse engineered[2] and many websites provide an on-the-fly decoder.[4]

References

Page Template:Reflist/styles.css has no content.

  1. ^ a b Lua error in package.lua at line 80: module 'Module:Citation/CS1/Utilities' not found.
  2. ^ a b Lua error in package.lua at line 80: module 'Module:Citation/CS1/Utilities' not found.
  3. ^ Lua error in package.lua at line 80: module 'Module:Citation/CS1/Utilities' not found.
  4. ^ Lua error in package.lua at line 80: module 'Module:Citation/CS1/Utilities' not found.

Template:Asbox