abstract class AbstractHasher

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.

bool
hasHash(string|null $hashedValue)

Determine whether a hash value is present.

Details

at line 14
array info(string $hashedValue)

Get information about the given hashed value.

Parameters

string $hashedValue

Return Value

array

at line 22
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

at line 34
protected bool hasHash(string|null $hashedValue)

Determine whether a hash value is present.

Parameters

string|null $hashedValue

Return Value

bool