From fc208caaf1bcb31f0343b2c3cd1b4f9964e8bfb7 Mon Sep 17 00:00:00 2001 From: Arkerone Date: Wed, 7 Apr 2021 10:32:24 +0200 Subject: [PATCH] doc: fix typo in crypto -change "keyLenth" to "keyLength" -change "ivLenth" to "ivLength" --- doc/api/crypto.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/api/crypto.md b/doc/api/crypto.md index 0918d599c287fc..d08161612f9e0c 100644 --- a/doc/api/crypto.md +++ b/doc/api/crypto.md @@ -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()`