Hacker Newsnew | past | comments | ask | show | jobs | submit | narsimham's commentslogin

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.


this is a great way to go.

i left my job with no savings and intending to do the same thing, because i was just not happy with my position at my new employer.

within three months i was completely broke, but with a github account with hundreds of commits.. and then my old boss from my second-to-last job called, and offered me job back, at a huge raise, and allowing me to work remotely, and pursue my own codebase/startup dream on the side.

quitting for the right reasons can have wonderful side benefits. :)


agreed! though with deals, they are adding temporality to the service, which is definitely a step in the right direction.

if no one fills this void within the next year or two, i think they will be well poised to do so.


personally, i find foursquare, gowalla, and the like criminally useless.

the aggregation of all this location data and the sum result of either sharing your location with your friends or seeing an absolutely barebones of the establishments around you, without any context, doesn't result in a useful experience for me, at all.


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

Search: