Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 4fa84c9

Browse filesBrowse files
Amery2010addaleax
authored andcommitted
doc: fix crypto Verify cut-n-paste from Sign
Verify documentation had cut-n-pasted documentation from Sign. PR-URL: #9796 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Evan Lucas <evanlucas@me.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Sam Roberts <vieuxtech@gmail.com> Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Prince John Wesley <princejohnwesley@gmail.com>
1 parent 80a3934 commit 4fa84c9
Copy full SHA for 4fa84c9

File tree

Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed
Open diff view settings
Collapse file

‎doc/api/crypto.md‎

Copy file name to clipboardExpand all lines: doc/api/crypto.md
+2-2Lines changed: 2 additions & 2 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -935,8 +935,8 @@ of two ways:
935935
- Using the [`verify.update()`][] and [`verify.verify()`][] methods to verify
936936
the signature.
937937

938-
The [`crypto.createSign()`][] method is used to create `Sign` instances.
939-
`Sign` objects are not to be created directly using the `new` keyword.
938+
The [`crypto.createVerify()`][] method is used to create `Verify` instances.
939+
`Verify` objects are not to be created directly using the `new` keyword.
940940

941941
Example: Using `Verify` objects as streams:
942942

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.