Advertisement
MoNoLidThZ

My Awesome Encoder

Sep 5th, 2013
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 1.30 KB | None | 0 0
  1. <?php
  2. function myawesomeencoder($string){
  3. $s1 = hash("md2",$string);
  4. $s2 = hash("md4",$string);
  5. $s3 = hash("md5",$string);
  6. $s4 = hash("sha1",$string);
  7. $s5 = hash("sha256",$string);
  8. $s6 = hash("sha512",$string);
  9. $s7 = hash("ripemd128",$string);
  10. $s8 = hash("ripemd160",$string);
  11. $s9 = hash("ripemd256",$s8);
  12. $s10 = hash("ripemd320",$s9);
  13. $s11 = hash("whirlpool",$s10);
  14. $s12 = hash("tiger128,3",$s11);
  15. $s13 = hash("tiger160,3",$s12);
  16. $s14 = hash("tiger192,3",$s13);
  17. $s15 = hash("tiger128,4",$s14);
  18. $s16 = hash("tiger160,4",$s15);
  19. $s17 = hash("tiger192,4",$s16);
  20. $s18 = hash("snefru",$s17);
  21. $s19 = hash("gost",$s18);
  22. $s20 = hash("adler32",$s29);
  23. $s21 = hash("crc32",$s20);
  24. $s22 = hash("crc32b",$s21);
  25. $s23 = hash("haval128,3",$s22);
  26. $s24 = hash("haval160,3",$s23);
  27. $s25 = hash("haval192,3",$s24);
  28. $s26 = hash("haval224,3",$s25);
  29. $s27 = hash("haval256,3",$s26);
  30. $s28 = hash("haval128,4",$s27);
  31. $s29 = hash("haval160,4",$s28);
  32. $s30 = hash("haval192,4",$s29);
  33.  
  34. //$result = hash("whirlpool",$s1.$s2.$s3.$s4.$s5.$s6.$s7.$s8.$s9.$s10.$s11.$s12.$s13.$s14.$s15.$s16.$s17.$s18.$s19.$s20.$s21.$s22.$s23.$s24.$s25.$s26.$s27.$s28.$s29.$s30);
  35. $result = $s1.$s2.$s3.$s4.$s5.$s6.$s7.$s8.$s9.$s10.$s11.$s12.$s13.$s14.$s15.$s16.$s17.$s18.$s19.$s20.$s21.$s22.$s23.$s24.$s25.$s26.$s27.$s28.$s29.$s30;
  36. return $result;
  37. }?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement