MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / nonce

Function nonce

telemetry-dashboard/src/index.ts:138–141  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

136}
137
138function nonce(): string {
139 const bytes = crypto.getRandomValues(new Uint8Array(16));
140 return Array.from(bytes, (b) => b.toString(16).padStart(2, '0')).join('');
141}
142
143/** Best-effort brute-force cap on the shared password, keyed by client IP. */
144async function loginRateLimitOk(env: Env, request: Request): Promise<boolean> {

Callers 2

handleLoginPageFunction · 0.85
handleLoginSubmitFunction · 0.85

Calls 1

joinMethod · 0.45

Tested by

no test coverage detected