Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/smallfawn/QLScriptPublic
/ hmacSha256Hex
Function
hmacSha256Hex
wxapp/wps.js:70–72 ·
view source on GitHub ↗
(text, key)
Source
from the content-addressed store, hash-verified
68
}
69
70
function
hmacSha256Hex(text, key) {
71
return
crypto.createHmac(
"sha256"
, key).update(String(text)).digest(
"hex"
);
72
}
73
74
function
base64url(input) {
75
return
Buffer.from(input).toString(
"base64url"
);
Callers
1
makeSignature
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected