Skip to content

Commit 9e68b8d

Browse files
Amery2010MylesBorins
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 fd1a48c commit 9e68b8d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/api/crypto.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -910,8 +910,8 @@ of two ways:
910910
- Using the [`verify.update()`][] and [`verify.verify()`][] methods to verify
911911
the signature.
912912

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

916916
Example: Using `Verify` objects as streams:
917917

0 commit comments

Comments
 (0)