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 all commits
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
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