How should I incorporate the salt in my password hash?

boorman

New Member
How much stronger would\[code\]return sha1($salt.sha1($passwd));\[/code\]be compared to just:\[code\]return sha1($salt.$passwd);\[/code\]\[code\]$salt\[/code\] is a per-user string of length 12 consisting of strong random ASCII.
 
Back
Top