Advertisement
Guest User

Untitled

a guest
Nov 4th, 2015
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.04 KB | None | 0 0
  1. <?php
  2. /**
  3. *
  4. * @ This file is created by deZender.Net
  5. * @ deZender (PHP5 Decoder for ionCube Loader)
  6. *
  7. * @ Version : 2.0.0.4
  8. * @ Author : DeZender
  9. * @ Release on : 21.10.2015
  10. * @ Official site : http://DeZender.Net
  11. *
  12. */
  13.  
  14. class Checksum {
  15.  
  16. private $privateKey = "ec340029d65c7125783d8a8b27b77c8a0fcdc6ff23cf04b576063fd9d1273257";
  17.  
  18. private $keySize = 32;
  19.  
  20. private $profile = null;
  21.  
  22. private $hash = "sha1";
  23.  
  24.  
  25. public function __construct($options = null, $key = null, $hash = "sha1") {
  26. if ($options) {
  27. foreach ($options as $option => $value) {
  28. $this->profile[$option] = $value;
  29. }
  30. }
  31. $this->hash = $hash;
  32. $this->privateKey = $key === null ? pack("H*", $this->privateKey) : $key;
  33. $this->keySize = strlen($this->privateKey);
  34. }
  35.  
  36.  
  37. private function randString($length) {
  38. $r = 0;
  39. switch (true) {
  40. case function_exists("openssl_random_pseudo_bytes"):
  41. $r = bin2hex(openssl_random_pseudo_bytes($length));
  42. ......................................................
  43. ........................
  44. ..........
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement