Closed ghost closed 1 year ago
const xalEncrypt = (test) => { let tester = JSON.stringify(test) let hex = "\u00030é\u00087°\u0094\u000e-³x\u009dûËfîâÀ\u000eZâ©\u0004\u009cSÑä`\u0088\u009cÁ'"; let empty = ''; let ind = 0; let ext = tester.match(new RegExp("", "g")).length - 1; while (ind < ext) { let xx = ord(tester[ind]); let xxx = xx ^ ord(hex[ind % hex.length]); let xc = xxx.toString(16); if (xc.length == 1) { xc = "0" + xc; } empty = empty + xc; ind = ind + 1; } return empty; }