Skip to content

sh1kxrv/antitamperjs

Repository files navigation

Anti-Tamper | JS

RxstyTerra

Warning

🚧 The application is in an active stage of development //

How it should work?

Examples now

Raw Transformed
function randInt(min, max) {
  const minCeiled = Math.ceil(min);
  const maxFloored = Math.floor(max);
  return Math.floor(
    Math.random() * 
    (maxFloored - minCeiled + 1) 
    + minCeiled
  );
}
const $ea07bc = {
    "64099defb1a4": "var minCeiled = Math.ceil(min);var maxFloored = Math.floor(max);Math.floor(Math.random() * (maxFloored - minCeiled + 1) + minCeiled);"
};
function randInt(min, max) {
    return eval($ea07bc["64099defb1a4"]);
}

Expected in the future

Raw Transformed
function randInt(min, max) {
  const minCeiled = Math.ceil(min);
  const maxFloored = Math.floor(max);
  return Math.floor(
    Math.random() * 
    (maxFloored - minCeiled + 1) 
    + minCeiled
  );
}
function randInt(min, max) {
  return $$rterra.a(min, max);
}

TODO

  • Refactor code

Releases

No releases published

Packages

No packages published