MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / sha1Hex

Function sha1Hex

graph-ui/src/core/hash.ts:164–166  ·  view source on GitHub ↗
(text: string)

Source from the content-addressed store, hash-verified

162
163/** sha1 eines Textes als Hex, synchron. */
164export function sha1Hex(text: string): string {
165 return sha1Bytes(encoder.encode(text));
166}
167
168/** sha256 eines Textes als Hex, ohne WebCrypto. Nur fuer Tests und den Fallback. */
169export function sha256HexSync(text: string): string {

Callers 2

checklistItemIdFunction · 0.90
hash.test.tsFile · 0.90

Calls 1

sha1BytesFunction · 0.85

Tested by

no test coverage detected