GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — doc: add note about available ECC curves · nodejs/node@deb8b87

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • doc/api
    • crypto.markdown
    • tls.markdown
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎doc/api/crypto.markdown‎

Copy file name to clipboardExpand all lines: doc/api/crypto.markdown
+4-2Lines changed: 4 additions & 2 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -528,8 +528,10 @@ Example (obtaining a shared secret):
528528

529529
## crypto.createECDH(curve_name)
530530

531-
Creates a Elliptic Curve (EC) Diffie-Hellman key exchange object using a
532-
predefined curve specified by `curve_name` string.
531+
Creates an Elliptic Curve (EC) Diffie-Hellman key exchange object using a
532+
predefined curve specified by the `curve_name` string. On recent releases,
533+
`openssl ecparam -list_curves` will display the name and description of each
534+
available elliptic curve.
533535

534536
## Class: ECDH
535537

Collapse file

‎doc/api/tls.markdown‎

Copy file name to clipboardExpand all lines: doc/api/tls.markdown
+3-1Lines changed: 3 additions & 1 deletion
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,9 @@ automatically set as a listener for the [secureConnection][] event. The
179179
- `ecdhCurve`: A string describing a named curve to use for ECDH key agreement
180180
or false to disable ECDH.
181181

182-
Defaults to `prime256v1`. Consult [RFC 4492] for more details.
182+
Defaults to `prime256v1` (NIST P-256). On recent releases, `openssl ecparam
183+
-list_curves` will display the name and description of each available elliptic
184+
curve.
183185

184186
- `dhparam`: A string or `Buffer` containing Diffie Hellman parameters,
185187
required for Perfect Forward Secrecy. Use `openssl dhparam` to create it.

0 commit comments

Comments
0 (0)
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.