Changes between Version 4 and Version 5 of app2.2.0/sign
- Timestamp:
- 10/27/2015 11:40:15 AM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
app2.2.0/sign
v4 v5 17 17 {{{#!java 18 18 1. 接收到到请求或相应后将数据转为utf-8的字符串(命名为str)。 19 2. MD5(str + secretKey)得到 本地的签名(命名为signL)。20 3. 取出请求头或响应头中的 Sign(命名为sign)。19 2. MD5(str + secretKey)得到签名(命名为signL)。 20 3. 取出请求头或响应头中的签名Sign(命名为sign)。 21 21 4. 对比signL和sign是否一致,一致则说明数据无问题,不一致数据则有可能被篡改。 22 22 }}}
![(please configure the [header_logo] section in trac.ini)](http://www1.pconline.com.cn/hr/2009/global/images/logo.gif)