Skip to content

Commit 4ad979d

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 <[email protected]> Reviewed-By: Evan Lucas <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Sam Roberts <[email protected]> Reviewed-By: Michael Dawson <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Prince John Wesley <[email protected]>
1 parent 2c6d602 commit 4ad979d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/api/crypto.md

+2-2
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)