Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFilip Skokan <panva.ip@gmail.com>2022-09-22 16:51:44 +0300
committerGitHub <noreply@github.com>2022-09-22 16:51:44 +0300
commit5f8182981aa27ff8f3cee1604c069fb4d3e7b47f (patch)
tree58505a9fa12c5535b1104c074e8cabc01e1f9710 /doc/api/crypto.md
parent962b9abbe3126202d92d0f8a03adad9f51836dbb (diff)
doc,crypto: cleanup removed pbkdf2 behaviours
PR-URL: https://github.com/nodejs/node/pull/44733 Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Akhil Marsonya <akhil.marsonya27@gmail.com>
Diffstat (limited to 'doc/api/crypto.md')
-rw-r--r--doc/api/crypto.md6
1 files changed, 0 insertions, 6 deletions
diff --git a/doc/api/crypto.md b/doc/api/crypto.md
index 48086208ec8..d2eb977f622 100644
--- a/doc/api/crypto.md
+++ b/doc/api/crypto.md
@@ -4392,9 +4392,6 @@ otherwise `err` will be `null`. By default, the successfully generated
`derivedKey` will be passed to the callback as a [`Buffer`][]. An error will be
thrown if any of the input arguments specify invalid values or types.
-If `digest` is `null`, `'sha1'` will be used. This behavior is deprecated,
-please specify a `digest` explicitly.
-
The `iterations` argument must be a number set as high as possible. The
higher the number of iterations, the more secure the derived key will be,
but will take a longer amount of time to complete.
@@ -4490,9 +4487,6 @@ applied to derive a key of the requested byte length (`keylen`) from the
If an error occurs an `Error` will be thrown, otherwise the derived key will be
returned as a [`Buffer`][].
-If `digest` is `null`, `'sha1'` will be used. This behavior is deprecated,
-please specify a `digest` explicitly.
-
The `iterations` argument must be a number set as high as possible. The
higher the number of iterations, the more secure the derived key will be,
but will take a longer amount of time to complete.