You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 5, 2020. It is now read-only.
TypeError: The "digest" argument is required and must not be undefined
crypto.js:694
at pbkdf2 (crypto.js:694:11)
at Object.exports.pbkdf2 (crypto.js:682:10)
at Encrypt. (c:\Users\user\Desktop\Projects\speak-up\speakup\speakup-api\node_modules\endecrypt\src\endecrypt.js:88:20)
The error is obtained when use Endecrypt with Node js >=v8.0.0
It's happened because crypto.pbkdf2 method was changed. Look table below.
Version
Changes
v8.0.0
The digest parameter is always required now.
v6.0.0
Calling this function without passing the digest parameter is deprecated now and will emit a warning.
v6.0.0
The default encoding for password if it is a string changed from binary to utf8.