Nguyễn Hồ Ngọc Anh
Member
Should you store salt in database?
Answer
I’ve always used a proper per-entry salt string when hashing passwords for database storage. For my needs, storing the salt
in the DB next to the hashed password
has always worked fine. However, some people recommend that the salt be stored separately from the database.
Answer
I’ve always used a proper per-entry salt string when hashing passwords for database storage. For my needs, storing the salt
in the DB next to the hashed password
has always worked fine. However, some people recommend that the salt be stored separately from the database.