diff options
author | Ben Noordhuis <info@bnoordhuis.nl> | 2018-05-18 11:05:20 +0200 |
---|---|---|
committer | Ben Noordhuis <info@bnoordhuis.nl> | 2018-06-13 15:58:56 +0200 |
commit | c188cc5338cf56d6d30590800bf1db6362a9abc6 (patch) | |
tree | abf90028489ec128bb4b7d89746265a41e9e3c5e /doc | |
parent | 371103dae8b97264471e17de1989199ffcd2718e (diff) | |
download | android-node-v8-c188cc5338cf56d6d30590800bf1db6362a9abc6.tar.gz android-node-v8-c188cc5338cf56d6d30590800bf1db6362a9abc6.tar.bz2 android-node-v8-c188cc5338cf56d6d30590800bf1db6362a9abc6.zip |
crypto: refactor pbkdf2() and pbkdf2Sync() methods
Use the scrypt() infrastructure to reimplement pbkdf2() in a simpler
manner.
PR-URL: https://github.com/nodejs/node/pull/20816
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/api/errors.md | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/api/errors.md b/doc/api/errors.md index 68e12f36e0..c0773caf7c 100644 --- a/doc/api/errors.md +++ b/doc/api/errors.md @@ -739,6 +739,12 @@ An invalid [crypto digest algorithm][] was specified. A crypto method was used on an object that was in an invalid state. For instance, calling [`cipher.getAuthTag()`][] before calling `cipher.final()`. +<a id="ERR_CRYPTO_PBKDF2_ERROR"></a> +### ERR_CRYPTO_PBKDF2_ERROR + +The PBKDF2 algorithm failed for unspecified reasons. OpenSSL does not provide +more details and therefore neither does Node.js. + <a id="ERR_CRYPTO_SCRYPT_INVALID_PARAMETER"></a> ### ERR_CRYPTO_SCRYPT_INVALID_PARAMETER |