Skip to content

Commit 5396408

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 a3ba4ff commit 5396408

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
@@ -925,8 +925,8 @@ of two ways:
925925
- Using the [`verify.update()`][] and [`verify.verify()`][] methods to verify
926926
the signature.
927927

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

931931
Example: Using `Verify` objects as streams:
932932

0 commit comments

Comments
 (0)