Concern
Password hashing and verification (secure storage of user credentials).
Technology
bcryptjs
Documentation
- Repository: https://github.com/dcodeIO/bcrypt.js
- Getting started (NestJS auth): https://docs.nestjs.com/security/authentication
Integration
auth-strategies / Passport
Use bcryptjs to hash passwords before storing and to verify plain-text passwords in local/strategy logic. Typically used in the same auth flow as jwt (issue token after successful verification).