can anyone recommend a good method to create a sha1 salt using javascript ?
Share
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.
First, read up on what a salt is for to make sure you understand it. This and this will get you started, but you should read more.
Essentially, any random data of appropriate size will work for your purpose. Generally speaking, the fact that you are using SHA1 is irrelevant.
Just make sure it is large enough to prevent realistic rainbow table attacks.