[단방향 해쉬, BCRYPT] password_hash()

PHP가 5.5에서 기본함수로 password_hash()을 지원한다.

이하버전( PHP >= 5.3.7 )에서 사용할수있는 라이브러리로는 password_compat이 있으니 다운받아서 사용하자.

This library requires PHP >= 5.3.7 OR a version that has the $2y fix backported into it (such as RedHat provides). Note that Debian’s 5.3.3 version is NOT supported.

https://github.com/ircmaxell/password_compat

Leave a Reply

Your email address will not be published.