MCPcopy Create free account
hub / github.com/deepnote/vscode-deepnote / getTelemetrySafeHashedString

Function getTelemetrySafeHashedString

src/platform/telemetry/helpers.ts:37–39  ·  view source on GitHub ↗
(data: string)

Source from the content-addressed store, hash-verified

35 * Safe way to send data in telemetry (obfuscate PII).
36 */
37export async function getTelemetrySafeHashedString(data: string) {
38 return computeHash(data, 'SHA-256');
39}

Calls 1

computeHashFunction · 0.90

Tested by

no test coverage detected