
Install the bcrypt library: npm install bcrypt In your user registration route, hash the password using bcrypt: const bcrypt = require('bcrypt'); // ... // Hash password const saltRounds = 10; const salt = await bcrypt.genSalt(saltRounds); ...
I build cool stuff
This is Harsh Mange, working as a Software Engineer - Backend at Argoid. I love building apps. Working on contributing to open-source projects and the dev community.
Markdown supported · ⌘↵ to post
No responses yet.