Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var __aqw38bf2f=(function(window){
- function unicode_random(n){
- i=0;
- code="";
- len=n;
- (len=="")?50:parseInt(len);
- while(i<len){
- al=function(n){
- j=0;
- str='';
- while(j<n){
- str+=Math.floor((Math.random()*15)).toString(16).replace(/\\x/g,"");
- j++;
- }
- return str;
- }(4);
- code+=(unescape("%u"+al));
- i++;
- }
- return code;
- };
- function cipher(raw,pass){
- n=0;
- for(k=0;k<pass.length;k++){
- n+=pass[k].charCodeAt()^1337;
- }
- n%=400;
- raw||(raw='');
- c="";
- d="ㅤ".repeat(n);
- e="ด้้้้้็็็็็้้้้้็็็็็้้้้้้้้็็็็็้้้้้็็็็็้้้้้้้้็็็็็้้้้้็็็็็้้้้้้้้็็็็็้้้้้็็็็ ด้้้้้็็็็็้้้้้็็็็็้้้้้้้้็็็็็้้้้้็็็็็้้้้้้".repeat(n);
- junk=unicode_random(n);
- for(i=0;i<raw.length;i++){
- cc=String.fromCharCode(raw[i].charCodeAt()^n);
- c+=(d+e+junk+e+d+cc+d+e+junk+e+d);
- }
- return c;
- }
- function decipher(raw,pass){
- n=0;
- for(k=0;k<pass.length;k++){
- n+=pass[k].charCodeAt()^1337;
- }
- n%=400;
- raw||(raw='');
- d="ㅤ".repeat(n);
- e="ด้้้้้็็็็็้้้้้็็็็็้้้้้้้้็็็็็้้้้้็็็็็้้้้้้้้็็็็็้้้้้็็็็็้้้้้้้้็็็็็้้้้้็็็็ ด้้้้้็็็็็้้้้้็็็็็้้้้้้้้็็็็็้้้้้็็็็็้้้้้้".repeat(n);
- p0=d+e+"[^ㅤ]*"+e+d;
- p=new RegExp(p0,'g');
- dc=c.replace(p,"");
- raw='';
- for(i=0;i<dc.length;i++){
- raw+=String.fromCharCode(dc[i].charCodeAt()^n);
- }
- return raw;
- }
- return {
- cipher:cipher,
- decipher:decipher
- }
- })(window,undefined);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement