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

Function fingerprintNodeSecret

src/proxy/lifecycle/manager.js:389–393  ·  view source on GitHub ↗
(secret)

Source from the content-addressed store, hash-verified

387}
388
389function fingerprintNodeSecret(secret) {
390 if (!validNodeSecret(secret)) return null;
391 const normalized = String(secret).trim().toLowerCase();
392 return 'sha256:' + crypto.createHash('sha256').update(normalized).digest('hex');
393}
394
395function truthyState(value) {
396 const v = String(value || '').trim().toLowerCase();

Calls 1

validNodeSecretFunction · 0.85

Tested by

no test coverage detected