The bcrypt module contains an implementation of the bcrypt password hashing algorithm and nothing else.
The built-in crypto module contains many cryptographic primitives, such as hashing, symmetric and asymmetric encryption, key exchange, and some others. It does not contain a bcrypt implementation, but there is a PBKDF2 implementation that has a similar purpose (password hashing), but not as good as bcrypt.
source
share