RealSlimShady
RealSlimShady

Reputation: 55

Is it safe to use sha1(md5($password)) and does it make any difference?

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

Answers (1)

user3700999
user3700999

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

Related Questions