Showing
1 changed file
with
4 additions
and
0 deletions
@@ -94,3 +94,7 @@ exports.webSign = (params) => { | @@ -94,3 +94,7 @@ exports.webSign = (params) => { | ||
94 | 94 | ||
95 | return params.key === md5(md5(webPrivateKey) + params.uid); | 95 | return params.key === md5(md5(webPrivateKey) + params.uid); |
96 | }; | 96 | }; |
97 | + | ||
98 | +exports.makeToken = (string) => { | ||
99 | + return md5(md5(string + '#@!@#')); | ||
100 | +}; |
-
Please register or login to post a comment