I am currently working on a log in form and I’ve heard the best way to store passwords is to hash them, but do I put the “hashed” passwords to the database(in a column where only byte data types are placed) I put the bytes in the database and then retrieve then convert them to string to compare them with the users input is that how it works? if so How would I do that in LINQ TO SQL?
Share
I think the general approach is to salt/hash the passwords before storing them in the database when the user creates their account. Then, to authenticate the user salt/hash the input of the user and compare that with the database stored password.