Exemplo n.º 1
0
 public function urlBase64Decrypt($sp3a4f46)
 {
     if ($this->spdf4c30()) {
         $spf25f51 = UrlAESCipher::base64_decode_url($sp3a4f46);
         $sp50cc0b = substr($spf25f51, 0, 16);
         $spa6a016 = substr($spf25f51, 16);
         return trim(UrlAESCipher::pkcs5_unpad(mcrypt_decrypt($this->cipher, $this->key, $spa6a016, $this->mode, $sp50cc0b)));
     } else {
         throw new Exception('Invlid params!');
     }
 }
Exemplo n.º 2
0
 public function urlBase64Decrypt($sp755f74)
 {
     if ($this->sp42f8e2()) {
         $spcc5dfb = UrlAESCipher::base64_decode_url($sp755f74);
         $sp1c42c6 = substr($spcc5dfb, 0, 16);
         $sp20ef79 = substr($spcc5dfb, 16);
         return trim(UrlAESCipher::pkcs5_unpad(mcrypt_decrypt($this->cipher, $this->key, $sp20ef79, $this->mode, $sp1c42c6)));
     } else {
         throw new Exception('Invlid params!');
     }
 }