SHARE
TWEET

Untitled

a guest Apr 20th, 2019 95 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.   let pro_data = Date.now() + "|pad_PPPPPPPPPPPPPPPPPPPPPP|mo";
  2.   if (checkout) {
  3.     pro_data += "|cob";
  4.   }
  5.   let rand_array = makeRandom(new Uint8Array(16));
  6.   let pooky_pro_iv = Array.from(rand_array, makeLetters).join("");
  7.   let data = aesjs.utils.utf8.toBytes(pro_data);
  8.   let encryptedBytes = new aesjs.ModeOfOperation.cbc(key, rand_array).encrypt(aesjs.padding.pkcs7.pad(data));
  9.   let pooky_pro_data = aesjs.utils.hex.fromBytes(encryptedBytes);
  10.   let pooky_pro = pooky_pro_iv + pooky_pro_data;
  11.   return pooky_pro;
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top