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

Function formatKeyAs

test/parallel/test-crypto-encap-decap.js:126–128  ·  view source on GitHub ↗
(key, params)

Source from the content-addressed store, hash-verified

124 }
125
126 function formatKeyAs(key, params) {
127 return { ...params, key: key.export(params) };
128 }
129
130 const keyObjects = {
131 publicKey: crypto.createPublicKey(publicKey),

Callers 1

Calls 1

exportMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…