Dwight Watson's blog

CodeIgniter Bcrypt Library

This blog post was originally published a little while ago. Please consider that it may no longer be relevant or even accurate.

Bcrypt has become an imporant standard in password hashing as it's become clear that MD5 and SHA1 do not do enough to protect sensitive content. I'm a big fan of Laravel requiring PHP's Mcrypt library to ensure that passwords are hashed correctly and hope that it brings about greater awareness of password protection in PHP applications and greater security of user data.

This library is a simple adaption of the portable PHPPass library for hashing passwords that better matches the CodeIgniter API and fits in easily as a library.


A blog about Laravel & Rails by Dwight Watson;

Picture of Dwight Watson

Follow me on Twitter, or GitHub.