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

Function kmacVectors

test/parallel/test-crypto-key-objects-to-crypto-key.js:181–189  ·  view source on GitHub ↗
(name)

Source from the content-addressed store, hash-verified

179}
180
181function kmacVectors(name) {
182 return [
183 vector(
184 secretKey(256),
185 { name },
186 ['sign', 'verify'],
187 { length: 256 }),
188 ];
189}
190
191function asymmetricVectors(keyPair, algorithm, usagesByType, expected) {
192 const { publicKey, privateKey } = keyPair;

Calls 2

secretKeyFunction · 0.85
vectorFunction · 0.70

Tested by

no test coverage detected