MCPcopy Create free account
hub / github.com/smallfawn/QLScriptPublic / generateSign

Method generateSign

wxapp/wx_xlxyh.js:84–89  ·  view source on GitHub ↗
(timestamp, requestId, body = "")

Source from the content-addressed store, hash-verified

82 }
83
84 generateSign(timestamp, requestId, body = "") {
85 const crypto = require("crypto");
86 return crypto.createHash("md5")
87 .update(`${timestamp}${requestId}${body}boysup`)
88 .digest("hex");
89 }
90
91 uuid() {
92 return "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g, c => {

Callers 1

requestMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected