MCPcopy Create free account
hub / github.com/codingforentrepreneurs/jref.io / generateKey

Function generateKey

src/app/cli/generateKey.js:4–6  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2export const runtime = "nodejs"
3
4export default async function generateKey() {
5 return await crypto.randomBytes(16).toString("hex")
6}
7
8generateKey().then(x=>console.log(x))

Callers 1

generateKey.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected