MCPcopy Index your code
hub / github.com/nodejs/node / oldSign

Function oldSign

test/common/crypto.js:64–66  ·  view source on GitHub ↗
(algo, data, key)

Source from the content-addressed store, hash-verified

62 const message = Buffer.from('Hello Node.js world!');
63
64 function oldSign(algo, data, key) {
65 return createSign(algo).update(data).sign(key);
66 }
67
68 function oldVerify(algo, data, key, signature) {
69 return createVerify(algo).update(data).verify(key, signature);

Callers

nothing calls this directly

Calls 2

createSignFunction · 0.85
updateMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…