找到 3DES 方案, 但是没找到 ngx_lua 对这个解密的支持 有谁做过类似方案么 给个思路 谢谢各位大大.ps: 服务端用php倒是支持,考虑到性能问题还是用 ngx_lua的好 3DES 方案http://blog.csdn.net/lyq8479/article/details/8062867ngx_lua加密解密库 https://github.com/agentzh/lua-resty-string --
不知道这个解密性能咋样啊...也可以用https看楼上的方案, 先把请求体 json encode 然后在对这个串加密后传输到服务端.ngx_lua调用 3des的 c 模块来解密得到 json串,在decode得到最终的table.....不知道性能咋样...... 请大大们科普.... On Mon, Oct 21, 2013 at 3:52 PM, 瞿秋丰 <quqi...@gmail.com> wrote: 找到 3DES 方案, 但是没找到 ngx_lua 对这个解密的支持 有谁做过类似方案么 给个思路 谢谢各位大大.ps: 服务端用php倒是支持,考虑到性能问题还是用 ngx_lua的好 3DES 方案http://blog.csdn.net/lyq8479/article/details/8062867ngx_lua加密解密库 https://github.com/agentzh/lua-resty-string -- -- xinqiyang --
找到 3DES 方案, 但是没找到 ngx_lua 对这个解密的支持 有谁做过类似方案么 给个思路 谢谢各位大大.ps: 服务端用php倒是支持,考虑到性能问题还是用 ngx_lua的好3DES 方案http://blog.csdn.net/lyq8479/article/details/8062867ngx_lua加密解密库https://github.com/agentzh/lua-resty-string
用 XXTEA 吧,速度快。在 2013年10月21日星期一UTC+8下午2时52分59秒,瞿秋丰写道:找到 3DES 方案, 但是没找到 ngx_lua 对这个解密的支持 有谁做过类似方案么 给个思路 谢谢各位大大.ps: 服务端用php倒是支持,考虑到性能问题还是用 ngx_lua的好3DES 方案http://blog.csdn.net/lyq8479/article/details/8062867ngx_lua加密解密库https://github.com/agentzh/lua-resty-string