美文网首页
API接口安全——加密

API接口安全——加密

作者: recyclebin | 来源:发表于2017-02-09 15:44 被阅读0次

1、http://127.0.0.1/api?a=1&b=2&c=3&appkey=17020814-5316-4246-99FF-07495688D3E5&timestamp=1486626062127&token=xxxxxx

token=签名算法(a.value+b.value+c.value+AppSecret+timestamp)

appkey:双方约定值,不同调用者分配不同appkey

AppSecret:双方约定值,不同AppKey分配不同AppSecret

timestamp=System.currentTimeMillis()

2、https://127.0.0.1/api?a=1&b=2&c=3&appkey=17020814-5316-4246-99FF-07495688D3E5×tamp=1486626062127&token=xxxxxx

相关文章

网友评论

      本文标题:API接口安全——加密

      本文链接:https://www.haomeiwen.com/subject/wiaiittx.html