Skip to content

Commit 4bc8f75

Browse files
arkeronejasnell
authored andcommitted
doc: fix typo in crypto
-change "keyLenth" to "keyLength" -change "ivLenth" to "ivLength" PR-URL: #38130 Reviewed-By: Richard Lau <rlau@redhat.com> Reviewed-By: Harshitha K P <harshitha014@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Darshan Sen <raisinten@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
1 parent 6a6cdfa commit 4bc8f75

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/api/crypto.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -3697,7 +3697,7 @@ Returns information about a given cipher.
36973697
Some ciphers accept variable length keys and initialization vectors. By default,
36983698
the `crypto.getCipherInfo()` method will return the default values for these
36993699
ciphers. To test if a given key length or iv length is acceptable for given
3700-
cipher, use the `keyLenth` and `ivLenth` options. If the given values are
3700+
cipher, use the `keyLength` and `ivLength` options. If the given values are
37013701
unacceptable, `undefined` will be returned.
37023702

37033703
### `crypto.getCiphers()`

0 commit comments

Comments
 (0)