abstract class AbstractHasher (View source)

Methods

array
info(string $hashedValue)

Get information about the given hashed value.

bool
check(string $value, string|null $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|null $hashedValue, array $options = [])

Check the given plain value against a hash.

Parameters

string $value
string|null $hashedValue
array $options

Return Value

bool