Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/smallfawn/QLScriptPublic
/ genEcKeyPair
Function
genEcKeyPair
wxapp/wps.js:180–182 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
178
}
179
180
function
genEcKeyPair() {
181
return
crypto.generateKeyPairSync(
"ec"
, { namedCurve:
"prime256v1"
});
182
}
183
184
function
signEc(privateKey, text) {
185
return
crypto
Callers
1
login
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected