Type/to search
0
Follow
0
Followers
Pedir consejo el cifrado md5 siempre es incorrecto
Help
Created 2020-05-01 01:05:27  Updated 2020-05-01 01:40:38
 2
 1399

Este es el formato requerido por los documentos oficiales.
Este es el formato de la conexión wss
{
"cmd": {
"type": 4 // Certificado de firma, tipo: número entero
},
"key": "xxxxxxxxx", // llave pública, tipo: una cadena
"time": 1545727168, // horario, unidades de segundo, tipo: entero
"md5": "xxxxxxxxxxxxx" // md5: md5(key_ usuario ID_skey_time), orden no invertido, tipo: cadena de caracteres
}

Este es el formato de la conexión rest
img
¿Qué ocurre?
var time = _N(Unix(), 0) var key = 'xxxxxxxxxx' var skey = 'xxxxxxxxxxxxxxxxxxx' var id = 'xxxxxxxxx'
¿Cómo se escribe en la función MD5 (y) (y) (y)?

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)