UNPKG

vanzy-protect

Version:

Epic Obfuscator Yeahhh

16 lines (15 loc) 755 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.stringObfLvl2 = void 0; const main_1 = require("../main"); const comment_1 = require("./comment"); const stringObfLvl1_1 = require("./stringObfLvl1"); function stringObfLvl2(str) { if (str.length < 6) return (0, stringObfLvl1_1.stringObfLvl1)(str); const mid = Math.floor(str.length / 2); const segs = [str.slice(0, mid), str.slice(mid)]; return `${(0, main_1.A_FNC_NAME)()}(${(0, comment_1.comment)(3)}${(0, stringObfLvl1_1.stringObfLvl1)(segs[1])}${(0, comment_1.comment)(3)}, ${(0, comment_1.comment)(3)}${(0, stringObfLvl1_1.stringObfLvl1)(segs[0])}${(0, comment_1.comment)(3)})`.replace('\n', ''); } exports.stringObfLvl2 = stringObfLvl2;