Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

How do I go about using bcrypt in php?



Google: [bcrypt php]


that is a bad answer.

the search results from google are all added code, but php supports it natively: http://ca.php.net/manual/en/function.crypt.php


This is not correct! PHP does not do bcrypt natively. Look at the supported options!

Edit: crypt -> bcrypt, stupid iPad autocorrect


am I misunderstanding something? isn't CRYPT_BLOWFISH the same as bcrypt?


Huh... yes it is. They added it in 5.3, silly me.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: