Which module provides cryptographic functionality such as hashing in Node.js?
- A crypto
- B hash
- C secure
- D cipher
Answer
crypto
The crypto module provides hashing, HMAC, encryption and random bytes. For passwords, use a deliberately slow algorithm such as bcrypt or argon2.





