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: update reference to list hash algorithms in crypto.md · nodejs/node@68ccc7a

File tree

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

‎doc/api/crypto.md‎

Copy file name to clipboardExpand all lines: doc/api/crypto.md
+8-7Lines changed: 8 additions & 7 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -1209,18 +1209,18 @@ input.on('readable', () => {
12091209
added: v0.1.92
12101210
-->
12111211

1212-
Creates and returns a `Sign` object that uses the given `algorithm`. On
1213-
recent OpenSSL releases, `openssl list-public-key-algorithms` will
1214-
display the available signing algorithms. One example is `'RSA-SHA256'`.
1212+
Creates and returns a `Sign` object that uses the given `algorithm`.
1213+
Use [`crypto.getHashes()`][] to obtain an array of names of the available
1214+
signing algorithms.
12151215

12161216
### crypto.createVerify(algorithm)
12171217
<!-- YAML
12181218
added: v0.1.92
12191219
-->
12201220

1221-
Creates and returns a `Verify` object that uses the given algorithm. On
1222-
recent OpenSSL releases, `openssl list-public-key-algorithms` will
1223-
display the available signing algorithms. One example is `'RSA-SHA256'`.
1221+
Creates and returns a `Verify` object that uses the given algorithm.
1222+
Use [`crypto.getHashes()`][] to obtain an array of names of the available
1223+
signing algorithms.
12241224

12251225
### crypto.getCiphers()
12261226
<!-- YAML
@@ -1288,7 +1288,8 @@ console.log(alice_secret == bob_secret);
12881288
added: v0.9.3
12891289
-->
12901290

1291-
Returns an array with the names of the supported hash algorithms.
1291+
Returns an array of the names of the supported hash algorithms,
1292+
such as `RSA-SHA256`.
12921293

12931294
Example:
12941295

0 commit comments

Comments
0 (0)
You are visitor 01402520 — 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.