File tree 1 file changed +8
-7
lines changed
1 file changed +8
-7
lines changed Original file line number Diff line number Diff line change @@ -1241,18 +1241,18 @@ input.on('readable', () => {
1241
1241
added: v0.1.92
1242
1242
-->
1243
1243
1244
- Creates and returns a ` Sign ` object that uses the given ` algorithm ` . On
1245
- recent OpenSSL releases, ` openssl list-public-key-algorithms ` will
1246
- display the available signing algorithms. One example is ` 'RSA-SHA256' ` .
1244
+ Creates and returns a ` Sign ` object that uses the given ` algorithm ` .
1245
+ Use [ ` crypto.getHashes() ` ] [ ] to obtain an array of names of the available
1246
+ signing algorithms.
1247
1247
1248
1248
### crypto.createVerify(algorithm)
1249
1249
<!-- YAML
1250
1250
added: v0.1.92
1251
1251
-->
1252
1252
1253
- Creates and returns a ` Verify ` object that uses the given algorithm. On
1254
- recent OpenSSL releases, ` openssl list-public-key-algorithms ` will
1255
- display the available signing algorithms. One example is ` 'RSA-SHA256' ` .
1253
+ Creates and returns a ` Verify ` object that uses the given algorithm.
1254
+ Use [ ` crypto.getHashes() ` ] [ ] to obtain an array of names of the available
1255
+ signing algorithms.
1256
1256
1257
1257
### crypto.getCiphers()
1258
1258
<!-- YAML
@@ -1320,7 +1320,8 @@ console.log(alice_secret == bob_secret);
1320
1320
added: v0.9.3
1321
1321
-->
1322
1322
1323
- Returns an array with the names of the supported hash algorithms.
1323
+ Returns an array of the names of the supported hash algorithms,
1324
+ such as ` RSA-SHA256 ` .
1324
1325
1325
1326
Example:
1326
1327
You can’t perform that action at this time.
0 commit comments