How can I use salting+hashing on my ASP.Net application?
问题 I'm building a project from the ground up and I want to do things the Right Way™. I've read online about hashes and that's basically turning a password in 64 letters of mumbo jumbo, correct? What about salting? My questions are: How do I hash a string using C#? What would the field declaration type be in MSSQL? nvarchar(64)? What is salting and do I need to save that somewhere in my database? If I intend to let people use Facebook Connect, do I need to worry about creating a hash/salt? Code