Skip to content

Commit 7fc5c69

Browse files
tniessenMylesBorins
authored andcommitted
doc: use PBKDF2 in text
Use upper case variant in text in compliance with RFC 2898. PR-URL: #18279 Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Vladimir Kurchatkin <[email protected]> Reviewed-By: Ruben Bridgewater <[email protected]>
1 parent 27107b9 commit 7fc5c69

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/api/crypto.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1099,7 +1099,7 @@ password always creates the same key. The low iteration count and
10991099
non-cryptographically secure hash algorithm allow passwords to be tested very
11001100
rapidly.
11011101

1102-
In line with OpenSSL's recommendation to use pbkdf2 instead of
1102+
In line with OpenSSL's recommendation to use PBKDF2 instead of
11031103
[`EVP_BytesToKey`][] it is recommended that developers derive a key and IV on
11041104
their own using [`crypto.pbkdf2()`][] and to use [`crypto.createCipheriv()`][]
11051105
to create the `Cipher` object. Users should not use ciphers with counter mode
@@ -1154,7 +1154,7 @@ password always creates the same key. The low iteration count and
11541154
non-cryptographically secure hash algorithm allow passwords to be tested very
11551155
rapidly.
11561156

1157-
In line with OpenSSL's recommendation to use pbkdf2 instead of
1157+
In line with OpenSSL's recommendation to use PBKDF2 instead of
11581158
[`EVP_BytesToKey`][] it is recommended that developers derive a key and IV on
11591159
their own using [`crypto.pbkdf2()`][] and to use [`crypto.createDecipheriv()`][]
11601160
to create the `Decipher` object.

0 commit comments

Comments
 (0)