h0rnet

forsolar

Apr 13th, 2013
266
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.71 KB | None | 0 0
  1. case "md5": crypto( argu, "MD5" ); break;
  2. case "sha1": crypto( argu, "SHA1" ); break;
  3. case "sha256": crypto( argu, "SHA256" ); break;
  4. case "sha384": crypto( argu, "SHA384" ); break;
  5. case "sha512": crypto( argu, "SHA512" ); break;
  6. case "md2": crypto( argu, "MD2" ); break;
  7.  
  8.  
  9.  
  10.  
  11.  
  12.  
  13.  
  14.  
  15.  
  16.  
  17. function crypto( arg, alg )
  18. {
  19. setTimeout( function() // unsafeWindow cannot call GM_cryptoHash()
  20. {
  21. var hashed = GM_cryptoHash( arg, alg );
  22. if( alg == "SHA512" ) setTimeout( function() { sendMessage( hashed ); }, 1750 );
  23. else if( alg == "SHA384" || alg == "SHA256" ) setTimeout( function() { sendMessage( hashed ); }, 1500 );
  24. else setTimeout( function() { sendMessage( hashed ); }, 1000 );
  25. }, 1);
  26. }
Advertisement
Add Comment
Please, Sign In to add comment