File tree 1 file changed +4
-3
lines changed
1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -959,9 +959,9 @@ Type: Documentation-only
959
959
Using [`crypto.createCipher()`][] and [`crypto.createDecipher()`][] should be
960
960
avoided as they use a weak key derivation function (MD5 with no salt) and static
961
961
initialization vectors. It is recommended to derive a key using
962
- [`crypto.pbkdf2()`][] and to use [`crypto.createCipheriv ()`][] and
963
- [`crypto.createDecipheriv ()`][] to obtain the [`Cipher `][] and [`Decipher`][]
964
- objects respectively.
962
+ [`crypto.pbkdf2()`][] or [`crypto.scrypt ()`][] and to use
963
+ [`crypto.createCipheriv ()`][] and [`crypto.createDecipheriv() `][] to obtain the
964
+ [`Cipher`][] and [`Decipher`][] objects respectively.
965
965
966
966
<a id="DEP0107"></a>
967
967
### DEP0107: tls.convertNPNProtocols()
@@ -1024,6 +1024,7 @@ only. Use of `process.binding()` by userland code is unsupported.
1024
1024
[`crypto.DEFAULT_ENCODING`]: crypto.html#crypto_crypto_default_encoding
1025
1025
[`crypto.fips`]: crypto.html#crypto_crypto_fips
1026
1026
[`crypto.pbkdf2()`]: crypto.html#crypto_crypto_pbkdf2_password_salt_iterations_keylen_digest_callback
1027
+ [`crypto.scrypt()`]: crypto.html#crypto_crypto_scrypt_password_salt_keylen_options_callback
1027
1028
[`decipher.final()`]: crypto.html#crypto_decipher_final_outputencoding
1028
1029
[`decipher.setAuthTag()`]: crypto.html#crypto_decipher_setauthtag_buffer
1029
1030
[`domain`]: domain.html
You can’t perform that action at this time.
0 commit comments