grunt-javascript-obfuscator
Advanced tools
Comparing version 1.0.3 to 1.0.4
{ | ||
"name": "grunt-javascript-obfuscator", | ||
"description": "Obfuscates JavaScript files using amazing javascript-obfuscator.", | ||
"version": "1.0.3", | ||
"version": "1.0.4", | ||
"main": "tasks/javascript_obfuscator.js", | ||
@@ -41,2 +41,3 @@ "files": ["tasks"], | ||
"javascript-obfuscator", | ||
"obfuscation", | ||
"obfuscator", | ||
@@ -47,4 +48,9 @@ "obfuscate", | ||
"scramble", | ||
"safe" | ||
"safe", | ||
"uglify", | ||
"crush", | ||
"code protection", | ||
"javascript obfuscator", | ||
"js obfuscator" | ||
] | ||
} |
@@ -7,4 +7,24 @@ # grunt-javascript-obfuscator | ||
Conceal your logic and hide any data contained in the code. Please read documentation [how to protect your code effectively](https://github.com/javascript-obfuscator/javascript-obfuscator/blob/master/README.md). | ||
Conceal your logic and hide any data contained in the code. Please read documentation [how to protect your code effectively](https://github.com/javascript-obfuscator/javascript-obfuscator/blob/master/README.md). Basic protection: | ||
Original code: | ||
(function(){ | ||
var variable = 'abc'; | ||
console.log(variable); | ||
})(); | ||
Protected code: | ||
var _0xabf1 = [ | ||
'\x61\x62\x63', | ||
'\x6c\x6f\x67' | ||
]; | ||
(function() { | ||
var _0xe6fab6 = _0xabf1[0x0]; | ||
console[_0xabf1[0x1]](_0xe6fab6); | ||
}()); | ||
Special thanks for [@sanex3339](https://github.com/sanex3339) for his outstanding [javascript-obfuscator](https://github.com/javascript-obfuscator/javascript-obfuscator) library. | ||
@@ -97,2 +117,3 @@ | ||
* 2016-11-11 / v1.0.4 / Updated README. | ||
* 2016-11-09 / v1.0.3 / Updated README. | ||
@@ -99,0 +120,0 @@ * 2016-11-09 / v1.0.2 / Fixed examples. |
6315
121