For http get requests sent back from 91, verification must be performed on the server to ensure that the received parameter verification is consistent with the sign parameter sent from HTTP.
The MD5 encryption verification process of node on the server side is as follows:
Var crypto = require('crypto');
Var md5 = crypto.createHash('md5');
Md5.update('parameter combination result');
Var result = md5.digest('hex');
Console.log('result =====',result);
The main problem is that the Chinese encoding is inconsistent. If it is English, the encryption result is consistent with the sign. To solve this problem, you need to use the node buff module.
Var Buffer = require('buffer').Buffer
Var buf = new Buffer(1024);
Var len = buf.write('parameter combination result', 0);
Var result = buf.toString('binary', 0, len);//To use binary to make the result consistent with sign, you can also use uft8, ascii
Console.log('result=======',result);
After the above processing, the parameter encryption result can be consistent with the sign to achieve the purpose of verification.