-
Notifications
You must be signed in to change notification settings - Fork 1
feat: Implement Password Security By Adding A Salt Before Hashing. #69
Copy link
Copy link
Open
Labels
PANEL SUGGESTIONSBase on panelist suggestion on capstone 1Base on panelist suggestion on capstone 1
Description
Description
Enhance password security by adding a salt before hashing.
Expected Behavior
- Generate a unique random salt for each user password.
- Combine the salt with the password before hashing.
- Store the hash and salt in the database.
- Integrate under Account Management settings.
- Why We Need Salt
- Prevents attackers from using precomputed hash tables (rainbow tables) to guess passwords.
- Ensures that identical passwords have different hashes, making database breaches safer.
Example:
- Password: mypassword123
- Salt: a1b2c3
- Hash salt + password → store hash and salt
- On login, combine entered password + stored salt, hash, and compare
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
PANEL SUGGESTIONSBase on panelist suggestion on capstone 1Base on panelist suggestion on capstone 1