getCurves

external fun getCurves(): ERROR CLASS: Symbol not found for js.array.ReadonlyArray<kotlin/String>(source)
const {
getCurves,
} = await import('node:crypto');

console.log(getCurves()); // ['Oakley-EC2N-3', 'Oakley-EC2N-4', ...]

Since

v2.3.0

Return

An array with the names of the supported elliptic curves.