1

I did MD5 Password hash but since it is that MD5 password Hash is crackable is there any other built in password hash function in PHP?

Which is easy to implement and no need for other libraries.

Big thanks in advance

AndroidNewbie
  • 669
  • 3
  • 16
  • 23

1 Answers1

0

PHP 5.5 has new password functions built in.

http://www.php.net/manual/en/function.password-hash.php

and to verify passwords you can use.

http://www.php.net/manual/en/function.password-verify.php

If you are using a version of PHP earlier than 5.5 consider using the following library.

https://github.com/ircmaxell/password_compat

Jeremy Quinton
  • 688
  • 4
  • 13