浏览代码

Added fixed seed for the first obfuscation pass of the CustomNodeObfuscator

sanex3339 5 年之前
父节点
当前提交
a5077431de
共有 4 个文件被更改,包括 2 次插入1 次删除
  1. 0 0
      dist/index.browser.js
  2. 0 0
      dist/index.cli.js
  3. 0 0
      dist/index.js
  4. 2 1
      src/custom-nodes/CustomNodeObfuscator.ts

文件差异内容过多而无法显示
+ 0 - 0
dist/index.browser.js


文件差异内容过多而无法显示
+ 0 - 0
dist/index.cli.js


文件差异内容过多而无法显示
+ 0 - 0
dist/index.js


+ 2 - 1
src/custom-nodes/CustomNodeObfuscator.ts

@@ -50,7 +50,8 @@ export class CustomNodeObfuscator implements ICustomNodeObfuscator {
             template,
             {
                 ...NO_ADDITIONAL_NODES_PRESET,
-                identifierNamesGenerator: IdentifierNamesGenerator.HexadecimalIdentifierNamesGenerator
+                identifierNamesGenerator: IdentifierNamesGenerator.HexadecimalIdentifierNamesGenerator,
+                seed: 1
             }
         ).getObfuscatedCode();
 

部分文件因为文件数量过多而无法显示