ircmaxell / password_compat

Compatibility with the password_* functions that ship with PHP 5.5
MIT License
2.15k stars 421 forks source link

fixes #66 #67

Closed y-gupta closed 10 years ago

y-gupta commented 10 years ago

default value of $algo should be PASSWORD_DEFAULT in password_hash($password,$algo,$options)

bcremer commented 10 years ago

This lib is a userspace implementation of PHPs own password_hash so it aims to be api compatible with that. In the PHP implementation the $algo parameter is also not optional and has no default value.

ircmaxell commented 10 years ago

Closing as #66 was closed