From 081d1fe193ede5a3fe39fb855359bbb5f03fc5b3 Mon Sep 17 00:00:00 2001 From: Filip Skokan Date: Thu, 22 Sep 2022 15:51:44 +0200 Subject: [PATCH] doc,crypto: cleanup removed pbkdf2 behaviours MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PR-URL: https://github.com/nodejs/node/pull/44733 Reviewed-By: Tobias Nießen Reviewed-By: Luigi Pinca Reviewed-By: Akhil Marsonya --- doc/api/crypto.md | 6 ------ 1 file changed, 6 deletions(-) diff --git a/doc/api/crypto.md b/doc/api/crypto.md index b347afa29ba54a..2571e8a068d8b3 100644 --- a/doc/api/crypto.md +++ b/doc/api/crypto.md @@ -4309,9 +4309,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. @@ -4407,9 +4404,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.