token = $token; $this->encodingAesKey = $encodingAesKey; $this->appId = $appId; } public function encryptMsg($replyMsg, $timeStamp, $nonce, &$encryptMsg) { $pc = new Prpcrypt($this->encodingAesKey); $array = $pc->encrypt($replyMsg, $this->appId); $ret = $array[0]; if ($ret != 0) { return $ret;