Reputation: 55
Can I use sha1(md5($password))
for better password hashing, and will it be harder to hack? Or will the security of the hash be the same?
Upvotes: 2
Views: 138
Reputation:
Using multiple hash is bad practice, you should always use the password_hash
php function to hash your passwords :)
See http://php.net/manual/en/function.password-hash.php
Upvotes: 6