public static string
make( string $value, integer $rounds = 8 )
Hash a password using the Bcrypt hashing scheme.
// Create a Bcrypt hash of a value $hash = Hash::make('secret'); // Use a specified number of iterations when creating the hash $hash = Hash::make('secret', 12);
string
integer
public static boolean
check( string $value, string $hash )
Determine if an unhashed value matches a Bcrypt hash.
boolean