Skip to content

doc: Update doc of publicEncrypt method - #12947

Closed
fhalde wants to merge 1 commit into
nodejs:masterfrom
fhalde:doc
Closed

doc: Update doc of publicEncrypt method#12947
fhalde wants to merge 1 commit into
nodejs:masterfrom
fhalde:doc

Conversation

@fhalde

@fhaldefhalde commented May 10, 2017

Copy link
Copy Markdown
Contributor

As per #12946
the crypto doc for publicEncrypt doesn't tell
you whether the encryption happens in place or not.

Checklist
Affected core subsystem(s)

doc

@nodejs-github-botnodejs-github-bot added crypto Issues and PRs related to the crypto subsystem. doc Issues and PRs related to the documentations. labels May 10, 2017

@danbevdanbev left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: could you limit the line length to 80 characters so that is consistent?

@fhalde

Copy link
Copy Markdown
ContributorAuthor

Yupp

Comment threaddoc/api/crypto.md Outdated

@mscdexmscdexMay 10, 2017

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

s/buffer/[`Buffer`][]/

@mscdex

Copy link
Copy Markdown
Contributor

While you're in there, would you mind changing private_key to public_key in both of the public*() method parameter descriptions?

As per nodejs#12946
the crypto doc for publicEncrypt doesn't tell
you whether the encryption happens in place or not.
@fhalde

Copy link
Copy Markdown
ContributorAuthor

done & done @mscdex

@mscdex

Copy link
Copy Markdown
Contributor

LGTM

@mhdawsonmhdawson left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@addaleax

Copy link
Copy Markdown
Member

Landed in eff9252

addaleax pushed a commit that referenced this pull request May 19, 2017
As per #12946
the crypto doc for publicEncrypt doesn't tell
you whether the encryption happens in place or not.
Fixes: #12946
PR-URL: #12947
Reviewed-By: Brian White <mscdex@mscdex.net>
Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
anchnk pushed a commit to anchnk/node that referenced this pull request May 19, 2017
As per nodejs#12946
the crypto doc for publicEncrypt doesn't tell
you whether the encryption happens in place or not.
Fixes: nodejs#12946
PR-URL: nodejs#12947
Reviewed-By: Brian White <mscdex@mscdex.net>
Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
@jasnelljasnell mentioned this pull request May 28, 2017
@gibfahngibfahn mentioned this pull request Jun 15, 2017
3 tasks
@MylesBorins

Copy link
Copy Markdown
Contributor

v6.x?

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cryptoIssues and PRs related to the crypto subsystem.docIssues and PRs related to the documentations.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

10 participants

@fhalde@mscdex@addaleax@MylesBorins@danbev@jasnell@lpinca@mhdawson@gibfahn@nodejs-github-bot