Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

doc: Crypto.markdown 'RSA-SHA256' should be uppercase #5044

Closed
wants to merge 3 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Update crypto.markdown
The RSA-SHA256 string should be uppercase
raineroviir committed Feb 2, 2016
commit decc2e14090a5203289839710ff601ccb3fd6762
8 changes: 4 additions & 4 deletions doc/api/crypto.markdown
Original file line number Diff line number Diff line change
@@ -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();
@@ -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');

@@ -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();
@@ -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');