What is best way to salt password? -


Can you please tell me what is the best method of salt password, which method is best?

Thank you.

It does not really matter if you do it. This is a way to get different hashes for the same password.

If you think that you need 256 hashes for each password, use a byte of salt. If you want to have 4 BNH for each password, then use 4 bites of salt.

These types of trade-offs require more information about the domains that you provide.

Say salt is visible in the public, so you do not have to worry about fancy unknown techniques to predict - any old can do PRNG.


Comments

Popular posts from this blog

paypal - How to know the URL referrer in PHP? -

oauth - Facebook OAuth2 Logout does not remove fb_ cookie -

wpf - Line breaks and indenting for the XAML of a saved FlowDocument? -