Is there any advantage to
sha1(sha1(sha1($password. $salt)));
Basically having multiple sha1 verses just one sha1
sha1($pa
The short answer is no. When you chain two hash algorithms, all you're doing is creating another hash algorithm that has unknown properties (security-wise). Use a salt (or even better, HMAC).