如今,是一个提倡开源的时代,开源作者的贡献精神值得所有人尊敬,开源作品带给社会的贡献值 是无法用言语来表达的!但是,不是所有的东西和成果都是可以开源的,信息安全、数据隐私、技术保护也是我们不应回避的问题。
代码混淆器,通过各种技术手段来保护作者的作品成果;对未经授权、违规使用或者其他非正常手段实施的盗用,提高技术壁垒和窃取成本。
JavaScript Obfuscator is a powerful free obfuscator for JavaScript, containing a variety of features which provide protection for your source code.
翻译:JavaScript混淆器是一个强有力的免费的JavaScript类型的混淆器,它包含了各种特性来为你的源代码提供保护。
This tool transforms your original JavaScript source code into a new representation that's harder to understand, copy, re-use and modify without authorization.The obfuscated result will have the exact functionality of the original code.
翻译:这个工具将你原始的JavaScript源代码转换为一种新的形式展示,在没有授权的情况下,它是难于理解、拷贝、重用和修改。混淆后的代码拥有和原始代码完全一样的功能。
This tool prevents that by using various transformations and "traps", such as self-defending and debug protection.
翻译:这个工具将通过使用变量转换和"陷阱"(例如:自我保护和调试保护)来阻止此类事情的发生。
关键特性:
variables renaming 变量重命名
strings extraction and encryption 字符串提取和加密
dead code injection 死代码注入
control flow flattening 控制流扁平化
various code transformations 各种代码转换
命令很简单:
javascript-obfuscator background.js --output background.min.js --compact true --self-defending false
加密效果见效果图
各种参数细节如图所示
【源码】
https://github.com/javascript-obfuscator/javascript-obfuscator.git
码字不易,喜欢的话就点个赞,关注下呗!您的支持是我最大的动力,谢谢啦!