Q46: What is the crypto module used for in Node.js?
The crypto module provides cryptographic functionality, including wrappers for OpenSSL's hash, HMAC, cipher, decipher, sign, and verify functions.
Key Takeaways
Provides built-in hashing, encryption, and signature generation.
Leverages native OpenSSL routines for performance.
Knowledge Check
Which method in crypto generates secure random bytes asynchronously?