public function urlBase64Encrypt($sp3a4f46) { if ($this->spdf4c30()) { $sp8c3827 = mcrypt_get_block_size($this->cipher, $this->mode); $spdf44fb = UrlAESCipher::pkcs5_pad($sp3a4f46, $sp8c3827); $sp50cc0b = $this->sp1472ad(); return trim(UrlAESCipher::base64_encode_url($sp50cc0b . mcrypt_encrypt($this->cipher, $this->key, $spdf44fb, $this->mode, $sp50cc0b))); } else { throw new Exception('Invlid params!'); } }
public function urlBase64Encrypt($sp755f74) { if ($this->sp42f8e2()) { $sp6bc36d = mcrypt_get_block_size($this->cipher, $this->mode); $sp810031 = UrlAESCipher::pkcs5_pad($sp755f74, $sp6bc36d); $sp1c42c6 = $this->sp4b5aaf(); return trim(UrlAESCipher::base64_encode_url($sp1c42c6 . mcrypt_encrypt($this->cipher, $this->key, $sp810031, $this->mode, $sp1c42c6))); } else { throw new Exception('Invlid params!'); } }