Type/to search
0
Follow
0
Followers
Bitte um Rat MD5-Verschlüsselung ist immer falsch
Help
Created 2020-05-01 01:05:27  Updated 2020-05-01 01:40:38
 2
 1399

Das ist das Format, das für offizielle Dokumente erforderlich ist.
Das ist das Format der WSS-Verbindung.
{
"cmd": {
"type": 4 // Unterschrift, Typ: Ganzzahl
},
"key": "xxxxxxxxx", // öffentlicher Schlüssel, Typ: Zeichenfolge
"time": 1545727168, // Zeitschalter, Einheit Sekunden, Typ: Ganzzahl
"md5": "xxxxxxxxxxxxx" // md5: md5 ((key_user ID_skey_time), nicht umgedreht, Typ: Zeichenfolge
}

Das ist das Format der Rest-Verbindung.
img
Was ist passiert?
var time = _N(Unix(), 0) var key = 'xxxxxxxxxx' var skey = 'xxxxxxxxxxxxxxxxxxx' var id = 'xxxxxxxxx'
Wie kann man das in der MD5 () () () () () () () () () () () () () () () () () () () () () () () () () () () () () () () () () () () () () () () () () () () () () () () () () () () () () () () () () () () () () () () () () () () () () () () () () () () () () () () () () () () () () () () () () () () () () () () () () () () () () () () () () () () () () () () () () () () () () () () () () () () () () () () () () () () () () () () () () () () () () () () () () () () () () () () () () () () () () () () () () () () () () () () () () () () () () () () () () () () () () () () () () () () () () () () () () () () () () () () () () () () () () () () () () () () () () () () () () () () () () () () () () () () () () () () () () () () () () () () () () () () () () () ()

Related Recommendations
Comment
All comments (2)

    应该是写错了,参考社区置顶进阶教程

    6 years ago

    感谢 已经自己试出来了 是这样的 var md5 = MD5(key + '_' + id + '_' + skey + '_' + time)

    6 years ago
  • 1
Forums
PINE Language
Get the app
iPhone Download
© 2015 - ∞ INVENTOR PTE LTD (SG)