What is the difference between the scrypt
package on NPM and the scrypt
functions in the built-in crypto
module?
Asked
Active
Viewed 1,051 times
2 Answers
2
scrypt package is deprecated while the scrypt function is the recommended built-in
https://github.com/barrysteyn/node-scrypt
#WARNING!!! This module is deprecated. Instead, use https://nodejs.org/api/crypto.html#crypto_crypto_scrypt_password_salt_keylen_options_callback

OpSocket
- 997
- 11
- 19
0
The 'raw scrypt hash function' scrypt.hash()
from node-scrypt is now available in the core Node.js crypto module. For the scrypt.kdf()
/ scrypt.verifyKdf()
functions, scrypt-kdf is a close-to-direct replacement.

ChrisV
- 8,748
- 3
- 48
- 38