crypto.getCurves()

  • Returns: {string[]} An array with the names of the supported elliptic curves.
const curves = crypto.getCurves();
console.log(curves); // ['Oakley-EC2N-3', 'Oakley-EC2N-4', ...]

最后修改 April 16, 2020: 加密 (a75e592)