AbstractHasher

class AbstractHasher (View source)

Methods

array info(string $hashedValue)

Get information about the given hashed value.

bool check(string $value, string $hashedValue, array $options = [])

Check the given plain value against a hash.

Details

array info(string $hashedValue)

Get information about the given hashed value.

Parameters

string $hashedValue

Return Value

array

bool check(string $value, string $hashedValue, array $options = [])

Check the given plain value against a hash.

Parameters

string $value
string $hashedValue
array $options

Return Value

bool

© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/5.6/Illuminate/Hashing/AbstractHasher.html