MCPcopy Create free account
hub / github.com/nodejs/node / vector

Function vector

test/parallel/test-crypto-key-objects-to-crypto-key.js:60–74  ·  view source on GitHub ↗
(
  keyObject,
  algorithm,
  usages,
  expected,
  extractable,
)

Source from the content-addressed store, hash-verified

58}
59
60function vector(
61 keyObject,
62 algorithm,
63 usages,
64 expected,
65 extractable,
66) {
67 return {
68 keyObject,
69 algorithm,
70 usages,
71 expected,
72 extractable,
73 };
74}
75
76function assertVector(vector, extractable) {
77 const { keyObject, algorithm, usages, expected } = vector;

Callers 8

symmetricVectorsFunction · 0.70
chacha20Poly1305VectorsFunction · 0.70
genericSecretVectorsFunction · 0.70
hmacVectorsFunction · 0.70
kmacVectorsFunction · 0.70
asymmetricVectorsFunction · 0.70
rsaVectorsFunction · 0.70
ecVectorsFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected