interface
Illuminate
/
Contracts
/
Hashing
/
Hasher
You are viewing an older version of the documentation. For the latest, please visit master documentation.
Hasher
Methods
public
info ( $hashedValue ) : array
Get information about the given hashed value.
Parameters
- $hashedValue string
public
make ( $value , array $options ) : string
Hash the given value.
Parameters
- $value string
- $options array
public
check ( $value , $hashedValue , array $options ) : bool
Check the given plain value against a hash.
Parameters
- $value string
- $hashedValue string
- $options array
public
needsRehash ( $hashedValue , array $options ) : bool
Check if the given hash has been hashed using the given options.
Parameters
- $hashedValue string
- $options array