SHARE
TWEET

Untitled

finalshare May 18th, 2018 (edited) 225 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. var x = (function (a, b) {
  2.     return {
  3.         encode: function (q, m) {
  4.  
  5.             for (var d = q.length, o = m.length, c = [], p = [], n = 0, g = 0, f = 0, e = 0, h; n <
  6.                 256; ++n) {
  7.                 p[n] = n
  8.             }
  9.             for (n = 0; n < 256; ++n) {
  10.                 g = (g + (h = p[n]) + q.charCodeAt(n % d)) % 256;
  11.                 p[n] = p[g];
  12.                 p[g] = h
  13.             }
  14.             for (g = 0; f < o; ++f) {
  15.                 n = f % 256;
  16.                 g = (g + (h = p[n])) % 256;
  17.                 d = p[n] = p[g];
  18.                 p[g] = h;
  19.                 c[e++] = String.fromCharCode(m.charCodeAt(f) ^ p[(d + h) % 256])
  20.  
  21.             }
  22.             return c.join("")
  23.         },
  24.         key: function (e) {
  25.             for (var d = 0, c = []; d < e; ++d) {
  26.                 c[d] = a((b() * 256) << 0)
  27.             }
  28.             return c.join("")
  29.         }
  30.     }
  31. })(String.fromCharCode, Math.random);
  32. var key = "123123";
  33. if (key !== undefined && Buffer.from(x.encode(
  34.         'c3d1e93cf8dd06844c8d35b9b306cf987f26b6a1199dfa7e5842a9d665ceb96414d70ba2f7b7e0877fa08abcf9e4ae06',
  35.         key), 'binary').toString('base64') === 'pzzOe4PEbspjpi+Kmvk5M2K5Rw==') {
  36.     console.log('ok so here is it:');
  37.     console.log(key);
  38. } else {
  39.     console.log('Plz try again, and again');
  40. }
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