PHP 5.3.27中password_hash的最佳替代方案?

Bas*_*snl 4 php security encryption php-password-hash

我一直在互联网上搜索加密数据库密码的最佳选择.我发现这password_hash()是最好的选择,但后来我发现它只适用于PHP 5.5+.显然我的主机有版本5.3.27.我一直在寻找最好的选择,但找不到任何好的东西.

Mat*_*hew 8

下面的库为php <5.5提供了password_hash

https://github.com/ircmaxell/password_compat.git

  • @Baspetersnl:5.3.27> 5.3.7,所以这应该适合你`:)` (6认同)