Skip to content
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
fix crypto "Verify" typo
fix crypto "Verify" typo
I am currently translating doc into Chinese, but I found this problem in the translation process.
  • Loading branch information
Amery2010 authored Nov 25, 2016
commit bd6615daec9f5887fa1cc9e88af67a62a6b45fe5
4 changes: 2 additions & 2 deletions doc/api/crypto.md
Original file line number Diff line number Diff line change
Expand Up @@ -935,8 +935,8 @@ of two ways:
- Using the [`verify.update()`][] and [`verify.verify()`][] methods to verify
the signature.

The [`crypto.createSign()`][] method is used to create `Sign` instances.
`Sign` objects are not to be created directly using the `new` keyword.
The [`crypto.createVerify()`][] method is used to create `Verify` instances. `Verify`
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.

Can you try to wrap lines at 80 columns? Thank you :)

objects are not to be created directly using the `new` keyword.

Example: Using `Verify` objects as streams:

Expand Down