Skip to content

Commit

Permalink
doc: fix typo in crypto
Browse files Browse the repository at this point in the history
-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>
  • Loading branch information
arkerone authored and jasnell committed Apr 7, 2021
1 parent 6a6cdfa commit 4bc8f75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/api/crypto.md
Original file line number Diff line number Diff line change
Expand Up @@ -3697,7 +3697,7 @@ Returns information about a given cipher.
Some ciphers accept variable length keys and initialization vectors. By default,
the `crypto.getCipherInfo()` method will return the default values for these
ciphers. To test if a given key length or iv length is acceptable for given
cipher, use the `keyLenth` and `ivLenth` options. If the given values are
cipher, use the `keyLength` and `ivLength` options. If the given values are
unacceptable, `undefined` will be returned.

### `crypto.getCiphers()`
Expand Down

0 comments on commit 4bc8f75

Please sign in to comment.