Skip to content

Commit 195bed2

Browse files
tniessenevanlucas
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 <targos@protonmail.com> Reviewed-By: Vladimir Kurchatkin <vladimir.kurchatkin@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
1 parent 17ef69e commit 195bed2

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
@@ -1250,7 +1250,7 @@ password always creates the same key. The low iteration count and
12501250
non-cryptographically secure hash algorithm allow passwords to be tested very
12511251
rapidly.
12521252

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

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

0 commit comments

Comments
 (0)