Skip to content

Commit

Permalink
doc: uppercase 'RSA-SHA256' in crypto.markdown
Browse files Browse the repository at this point in the history
Fixes: nodejs#5031
PR-URL: nodejs#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 Michael Scovetta committed Apr 2, 2016
1 parent 78f46ee commit beb2651
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 beb2651

Please sign in to comment.