iamcal/lib_bcrypt — pull request #2 by snacsnoc (2012-06-11 21:55:14+00:00)
Title: Added more entropy when getting random bytes

Instead of reading from /dev/urandom, openssl_random_pseudo_bytes() is used for portability. If CRYPT_BLOWFISH support is not present on the system, it throws an exception instead of ending the script.

Also added DocBlock comments for the methods.