Skip to content

Commit 782342f

Browse files
committed
fixup! crypto: add raw key formats support to the KeyObject APIs
1 parent 46ff6e0 commit 782342f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

doc/api/crypto.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ A [`KeyObject`][] is the in-memory representation of a parsed key and is
128128
**the preferred way to work with keys** in `node:crypto`. It is created by
129129
[`crypto.createPublicKey()`][], [`crypto.createPrivateKey()`][],
130130
[`crypto.createSecretKey()`][], or key generation functions such as
131-
\[`crypto.generateKeyPair()`]\[].
131+
[`crypto.generateKeyPair()`][].
132132

133133
Because the key material is parsed once at creation time, reusing a
134134
[`KeyObject`][] across multiple operations avoids repeated parsing and
@@ -6972,6 +6972,7 @@ See the [list of SSL OP Flags][] for details.
69726972
[`crypto.createSign()`]: #cryptocreatesignalgorithm-options
69736973
[`crypto.createVerify()`]: #cryptocreateverifyalgorithm-options
69746974
[`crypto.generateKey()`]: #cryptogeneratekeytype-options-callback
6975+
[`crypto.generateKeyPair()`]: #cryptogeneratekeypairtype-options-callback
69756976
[`crypto.getCurves()`]: #cryptogetcurves
69766977
[`crypto.getDiffieHellman()`]: #cryptogetdiffiehellmangroupname
69776978
[`crypto.getHashes()`]: #cryptogethashes

0 commit comments

Comments
 (0)