Looking to create a database table that saves user information (primarily user and password).
- Is the best way to hash (password) and user?
- Should I encrypt the name of user too?
- If i have a table of passwords and another with users data, how i can associate/link them?
The login is not the problem, the question is how to associate the tables (table of passwords and table of data for each user)
Thanks
You basic User table would look something like this:
Where the password is a hashed version (with a salt) of my password.