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

Function getCryptoKeyData

test/parallel/test-webcrypto-encap-decap-ml-kem.js:22–24  ·  view source on GitHub ↗
(key)

Source from the content-addressed store, hash-verified

20const vectors = require('../fixtures/crypto/ml-kem')();
21
22function getCryptoKeyData(key) {
23 return getCryptoKeyHandle(key).export();
24}
25
26async function testEncapsulateKey({ name, publicKeyPem, privateKeyPem, results }) {
27 const [

Callers 2

testEncapsulateKeyFunction · 0.85
testDecapsulateKeyFunction · 0.85

Calls 2

getCryptoKeyHandleFunction · 0.85
exportMethod · 0.45

Tested by

no test coverage detected