- 用户名+ 密码 =》 id + token
- str = [参数, random_number] 字典升序.join('')
- sign = md5( id + str + token);
Created
June 9, 2014 02:08
-
-
Save lovio/c74dadf052ca2b3017d9 to your computer and use it in GitHub Desktop.
简单的本地token认证
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment