Advertisement
Guest User

Untitled

a guest
Nov 22nd, 2014
170
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.50 KB | None | 0 0
  1. <?php
  2. function des ($a) {
  3. $b = strtolower(strrev($a));
  4. $c = hexdec(substr($b, 0, 4)) ^ hexdec("BFF");
  5. $d = hexdec("D77D") ^ $c;
  6. $e = substr($b, 4);
  7. $olvidada = "";
  8. $g = "";
  9. $f = 0;
  10. while ($f < strlen($e)) {
  11.     $f = $f + 6;
  12.     ++$g;
  13.     $h = ($g * $g) ^ hexdec("6E"); 
  14.     $olvidada = $olvidada . chr((((hexdec("AFE43") ^ $d) ^ hexdec("399AA3")) ^ $h) ^ octdec(hexdec(substr($e, $f, 6))));
  15. }
  16.  
  17. return $olvidada;
  18. }
  19. print des("feba0099ae0024121069720092e50048322062a5200b8920ae6910a65d10a1c0200000");
  20.  
  21.  
  22. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement