Skip to content

Commit

Permalink
doc: uppercase 'RSA-SHA256' in crypto.markdown
Browse files Browse the repository at this point in the history
Fixes: #5031
PR-URL: #5044
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Brian White <mscdex@mscdex.net>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
  • Loading branch information
raineroviir authored and Myles Borins committed Feb 22, 2016
1 parent 498052a commit dee5045
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions doc/api/crypto.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -690,7 +690,7 @@ Example: Using `Sign` objects as streams:

```js
const crypto = require('crypto');
const sign = crypto.createSign('rsa-sha256');
const sign = crypto.createSign('RSA-SHA256');

sign.write('some data to sign');
sign.end();
Expand All @@ -704,7 +704,7 @@ Example: Using the `sign.update()` and `sign.sign()` methods:

```js
const crypto = require('crypto');
const sign = crypto.createSign('rsa-sha256');
const sign = crypto.createSign('RSA-SHA256');

sign.update('some data to sign');

Expand Down Expand Up @@ -754,7 +754,7 @@ Example: Using `Verify` objects as streams:

```js
const crypto = require('crypto');
const verify = crypto.createVerify('rsa-sha256');
const verify = crypto.createVerify('RSA-SHA256');

verify.write('some data to sign');
verify.end();
Expand All @@ -769,7 +769,7 @@ Example: Using the `verify.update()` and `verify.verify()` methods:

```js
const crypto = require('crypto');
const verify = crypto.createVerify('rsa-sha256');
const verify = crypto.createVerify('RSA-SHA256');

verify.update('some data to sign');

Expand Down

0 comments on commit dee5045

Please sign in to comment.