BcryptHasher
class BcryptHasher implements Hasher (View source)
Properties
| protected int | $rounds | Default crypt cost factor. | 
Methods
| string |  make(string $value, array $options = [])  Hash the given value.  |  |
| bool |  check(string $value, string $hashedValue, array $options = [])  Check the given plain value against a hash.  |  |
| bool |  needsRehash(string $hashedValue, array $options = [])  Check if the given hash has been hashed using the given options.  |  |
| $this |  setRounds(int $rounds)  Set the default password work factor.  |  |
| int |  cost(array $options = [])  Extract the cost value from the options array.  |  
Details
string make(string $value, array $options = [])
Hash the given value.
bool check(string $value, string $hashedValue, array $options = [])
Check the given plain value against a hash.
bool needsRehash(string $hashedValue, array $options = [])
Check if the given hash has been hashed using the given options.
$this setRounds(int $rounds)
Set the default password work factor.
protected int cost(array $options = [])
Extract the cost value from the options array.
    © Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
    https://laravel.com/api/5.5/Illuminate/Hashing/BcryptHasher.html