cleaning up various codes.
This commit is contained in:
@@ -36,7 +36,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, otherwise we will use the Str::random method.
|
||||
// is available on the server.
|
||||
if (function_exists('openssl_random_pseudo_bytes'))
|
||||
{
|
||||
$salt = openssl_random_pseudo_bytes(16);
|
||||
|
||||
Reference in New Issue
Block a user