X Tutup
The Wayback Machine - https://web.archive.org/web/20230217144731/https://github.com/nodejs/node/commit/4bc8f7542f
Skip to content
Permalink
Browse files
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>
  • 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.
@@ -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()`

0 comments on commit 4bc8f75

Please sign in to comment.
X Tutup