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 <[email protected]>
Reviewed-By: Brian White <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: James M Snell <[email protected]>
  • Loading branch information
raineroviir authored and rvagg committed Feb 8, 2016
1 parent 83da19a commit 9908ece
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 9908ece

Please sign in to comment.