Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/smallfawn/QLScriptPublic
/ sha1
Function
sha1
wxapp/tmj.js:53–55 ·
view source on GitHub ↗
(text)
Source
from the content-addressed store, hash-verified
51
}
52
53
function
sha1(text) {
54
return
crypto.createHash(
"sha1"
).update(String(text)).digest(
"hex"
);
55
}
56
57
function
signPayload(data) {
58
const
keys = Object.keys(data).sort((a, b) => {
Callers
1
signPayload
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected