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

Function importSecretKey

lib/internal/crypto/webcrypto_util.js:232–236  ·  view source on GitHub ↗
(keyData)

Source from the content-addressed store, hash-verified

230}
231
232function importSecretKey(keyData) {
233 const handle = new KeyObjectHandle();
234 handle.init(kKeyTypeSecret, keyData);
235 return handle;
236}
237
238function importJwkSecretKey(keyData) {
239 const handle = new KeyObjectHandle();

Callers 4

c20pImportKeyFunction · 0.85
normalizeKeyLengthFunction · 0.85
macImportKeyFunction · 0.85
aesImportKeyFunction · 0.85

Calls 1

initMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…