Hasher
interface Hasher
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.
Details
at line 14
string
make(string $value, array $options = [])
Hash the given value.
at line 24
bool
check(string $value, string $hashedValue, array $options = [])
Check the given plain value against a hash.
at line 33
bool
needsRehash(string $hashedValue, array $options = [])
Check if the given hash has been hashed using the given options.