PHP Interface Cartalyst\Sentinel\Hashing\HasherInterface

Datei anzeigen Open project: cartalyst/sentinel Interface Usage Examples

Public Methods

Method Description
check ( string $value, string $hashedValue ) : boolean Checks the string against the hashed value.
hash ( string $value ) : string Hash the given value.

Method Details

check() public method

Checks the string against the hashed value.
public check ( string $value, string $hashedValue ) : boolean
$value string
$hashedValue string
return boolean

hash() public method

Hash the given value.
public hash ( string $value ) : string
$value string
return string