Possible Duplicate:
What is the optimal length for user password salt?
What size should I use in a CreateSalt class?
private static string CreateSalt(int size)
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Having just done this exact same thing this week, I decided on an byte[8] salt generated by the RNGCryptoServiceProvider class in .Net 4.
Seemed to be a decent size to avoid collisions with other salts.
Si