basic code cleanup.

This commit is contained in:
Taylor Otwell
2012-02-23 14:02:59 -06:00
parent e69f988fe5
commit 157f619e98
3 changed files with 3 additions and 5 deletions

View File

@@ -23,8 +23,7 @@ class Hash {
// Bcrypt expects the salt to be 22 base64 encoded characters including
// dots and slashes. We will get rid of the plus signs included in the
// base64 data and replace them with dots. OpenSSL will be used if it
// is available on the server.
// base64 data and replace them with dots.
if (function_exists('openssl_random_pseudo_bytes'))
{
$salt = openssl_random_pseudo_bytes(16);