Hashed password and salt

The hashed_password and salt fields represent the encrypted user password that we will use for authentication.

mern-skeleton/server/models/user.model.js:

hashed_password: {    type: String,    required: "Password is required"},salt: String

The actual password string is not stored directly in the database for security purposes and is handled separately.

Get Full-Stack React Projects now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.