// 解密
if IS_HTTP_ENCRYPT and xhr.response~=nil then
print("收到回复-加密前:")
print(xhr.response)
xhr.response = xxtea.decrypt(xhr.response,HTTP_ENCRYPT_KEY)
print("收到回复-加密后:")
print(xhr.response)
end
// 加密
if IS_HTTP_ENCRYPT and content~=nil then
print("发送请求-加密前:")
print(content)
content = xxtea.encrypt(content,HTTP_ENCRYPT_KEY)
print("发送请求-加密后:")
print(content)
end