Skip to main content

getCurves

function getCurves
Jump to headinggetCurves(): string[]
const {
  getCurves,
} = await import('node:crypto');

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

Return Type Jump to heading

string[]

An array with the names of the supported elliptic curves.

Back to top