Function getCurves

  • const {
    getCurves
    } = await import('crypto');

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

    Returns

    An array with the names of the supported elliptic curves.

    Returns string[]

  • const {
    getCurves
    } = await import('crypto');

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

    Returns

    An array with the names of the supported elliptic curves.

    Returns string[]

Generated using TypeDoc