daily pastebin goal
55%
SHARE
TWEET

Untitled

a guest Feb 13th, 2018 58 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. var xor_str = function(s,K)
  2.     {
  3.         c = '';
  4.         for(i=0; i<str.length; i++) {
  5.             for(ik=0; ik<K.length; ik++){
  6.                 c += String.fromCharCode(str[i].charCodeAt(0).toString(10) ^ key.charCodeAt(0).toString(10)); // XORing with letter 'K'
  7.             }
  8.         }
  9.         return c;
  10.     }
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