摘要: 首先要确定xml使用了哪些加密方式,这样在As3中就反过来解密。我加密xml的方式是先将xml文件打包为一个压缩文件,然后将压缩文件进行RC4加密,最后用base64将加密过的压缩包转为base64字符串再将字符串用一个xml保存起来,下面是加密的delphi代码procedure TConfigController.EncryptXML(xmlPath,saveToFile:WideString);var zipmst:TZipMaster19; tempFile,key:string; xmlDocument:IXMLDocument; rootNode,cdnode:IXMLNode.. 阅读全文
posted @ 2014-03-28 15:21 skybdemq 阅读(949) 评论(0) 推荐(0) 编辑