Salting Your Password: Best Practices? [closed]

Prefix or suffix is irrelevant, it’s only about adding some entropy and length to the password. You should consider those three things: The salt has to be different for every password you store. (This is quite a common misunderstanding.) Use a cryptographically secure random number generator. Choose a long enough salt. Think about the birthday … Read more

How can I store my users’ passwords safely?

The easiest way to get your password storage scheme secure is by using a standard library. Because security tends to be a lot more complicated and with more invisible screw up possibilities than most programmers could tackle alone, using a standard library is almost always easiest and most secure (if not the only) available option. … Read more

Hash and salt passwords in C#

Actually this is kind of strange, with the string conversions – which the membership provider does to put them into config files. Hashes and salts are binary blobs, you don’t need to convert them to strings unless you want to put them into text files. In my book, Beginning ASP.NET Security, (oh finally, an excuse … Read more

Where do you store your salt strings?

The point of rainbow tables is that they’re created in advance and distributed en masse to save calculation time for others – it takes just as long to generate rainbow tables on the fly as it would to just crack the password+salt combination directly (since effectively what’s being done when generating rainbow tables is pre-running … Read more