UNPKG

vanzy-protect

Version:

Epic Obfuscator Yeahhh

13 lines (12 loc) 599 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.numberObfLvl3 = void 0; const Randomizer_1 = require("../random/Randomizer"); const comment_1 = require("./comment"); const numberObfLvl2_1 = require("./numberObfLvl2"); function numberObfLvl3(num) { const xorMoment = Randomizer_1.Randomizer.INSTANCE.rand(3, 9999); const numer = num ^ xorMoment; return `(${(0, numberObfLvl2_1.numberObfLvl2)(numer)})${(0, comment_1.comment)(3)}^${(0, comment_1.comment)(3)}(${(0, numberObfLvl2_1.numberObfLvl2)(xorMoment)})`; } exports.numberObfLvl3 = numberObfLvl3;