MCPcopy Create free account
hub / github.com/AnukarOP/claude-code-leaked / hashString

Function hashString

source code/services/api/dumpPrompts.ts:11–13  ·  view source on GitHub ↗
(str: string)

Source from the content-addressed store, hash-verified

9import { jsonParse, jsonStringify } from '../../utils/slowOperations.js'
10
11function hashString(str: string): string {
12 return createHash('sha256').update(str).digest('hex')
13}
14
15// Cache last few API requests for ant users (e.g., for /issue command)
16const MAX_CACHED_REQUESTS = 5

Callers 1

dumpRequestFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected