MCPcopy Create free account
hub / github.com/Semporia/Scripts / pkSign

Function pkSign

jd_pk.js:435–439  ·  view source on GitHub ↗
(body, timestamp)

Source from the content-addressed store, hash-verified

433}
434
435function pkSign(body, timestamp) {
436 // timestamp = 1623470148350; // sign=a45cb6667750320e9f5c53102817654d
437 let str = `${$.appId}_${$.appMD5Key}_${body}_${timestamp}`;
438 return $.md5(str);
439}
440function shareSign(body) {
441 // timestamp = 1623470148350; // sign=a45cb6667750320e9f5c53102817654d
442 let str = `${$.appId}_${$.appMD5Key}_{"actId":9,"randomStr":"${body}","relation":2}_${timestamp}`;

Callers 3

sendpkFunction · 0.85
recvpkFunction · 0.85
launchBattleNewFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected