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

Function getKeyFileName

test/parallel/test-crypto-pqc-key-objects-ml-dsa.js:17–19  ·  view source on GitHub ↗
(type, suffix)

Source from the content-addressed store, hash-verified

15const fixtures = require('../common/fixtures');
16
17function getKeyFileName(type, suffix) {
18 return `${type.replaceAll('-', '_')}_${suffix}.pem`;
19}
20
21for (const [asymmetricKeyType, pubLen] of [
22 ['ml-dsa-44', 1312], ['ml-dsa-65', 1952], ['ml-dsa-87', 2592],

Calls

no outgoing calls

Tested by

no test coverage detected