abstract 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