/** * 对正常消息进行加密 * @param string $xml * @return SimpleXMLElement */ protected function crypt_generate($xml) { return CryptStatic::encrypt($xml, $this->appid, $this->encodingAesKey); }