HyperionCSharp / EpicGamesAPIDocs

Epic Games non documented API's including Talon and Hcaptcha API's
63 stars 10 forks source link

xal encode func #15

Closed ghost closed 1 year ago

ghost commented 1 year ago
function xalEncode(kortni) {
    for (var ena = unescape(encodeURIComponent(JSON.stringify(kortni))), lyndah = "", zeynet = 0; zeynet < ena.length; zeynet++) {
      var donnal = ena.charCodeAt(zeynet) ^ kline.charCodeAt(zeynet % kline.length);
      lyndah += "0".concat((255 & donnal).toString(16)).slice(-2);
    }
    return lyndah;
}