Alex Rivera | Logout

Salting and Hashing Passwords using Linq To SQL

Asked 2009-02-24T16:58:25.257
10

I need to salt and hash some passwords so that I can store them safely in a database. Do you have any advice or ideas as to how best to do this using Linq To SQL?

Edit
Report

1 Answer

0

If it is for user account login you don't want just salt+password hashing, you also want to use key stretching as per PBKDF2 in RFC2898 document.

Here is API to do what you need with example usage: https://sourceforge.net/projects/pwdtknet

Also creates crypto random salt at specified length

answered 2012-10-19T05:14:46.393

Your Answer