MCPcopy Create free account
hub / github.com/EvoMap/evolver / suppressionMarker

Function suppressionMarker

test/lifecycleStaleNodeSecret.test.js:42–44  ·  view source on GitHub ↗
(secret)

Source from the content-addressed store, hash-verified

40const VALID_HEX64_C = 'c'.repeat(64);
41
42function suppressionMarker(secret) {
43 return 'sha256:' + crypto.createHash('sha256').update(secret.toLowerCase()).digest('hex');
44}
45
46function makeStore(initial = {}) {
47 const state = { ...initial };

Calls

no outgoing calls

Tested by

no test coverage detected