Skip to content

Commit 67b7ad3

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 <targos@protonmail.com> Reviewed-By: Vladimir Kurchatkin <vladimir.kurchatkin@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
1 parent 1cfc67c commit 67b7ad3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/api/crypto.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1196,7 +1196,7 @@ password always creates the same key. The low iteration count and
11961196
non-cryptographically secure hash algorithm allow passwords to be tested very
11971197
rapidly.
11981198

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

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

0 commit comments

Comments
 (0)