Hashing

Illuminate\Hashing Classes BcryptHasher HashServiceProvider

HasherInterface::needsRehash()

bool needsRehash(string $hashedValue, array $options = array()) Check if the given hash has been hashed using the given options. Parameters string $hashedValue array $options Return Value bool

HasherInterface::make()

string make(string $value, array $options = array()) Hash the given value. Parameters string $value array $options Return Value string

HasherInterface::check()

bool check(string $value, string $hashedValue, array $options = array()) Check the given plain value against a hash. Parameters string $value string $hashedValue array $options Return Value bool

HasherInterface

HasherInterface interface HasherInterface (View source) Methods string make(string $value, array $options = array()) Hash the given value. bool check(string $value, string $hashedValue, array $options = array()) Check the given plain value against a hash. bool needsRehash(string $hashedValue, array $options = array()) Check if the given hash has been hashed using the given options.

Hasher::needsRehash()

bool needsRehash(string $hashedValue, array $options = array()) Check if the given hash has been hashed using the given options. Parameters string $hashedValue array $options Return Value bool

Hasher::make()

string make(string $value, array $options = array()) Hash the given value. Parameters string $value array $options Return Value string

Hasher::check()

bool check(string $value, string $hashedValue, array $options = array()) Check the given plain value against a hash. Parameters string $value string $hashedValue array $options Return Value bool

Hasher

Hasher interface Hasher (View source) Methods string make(string $value, array $options = array()) Hash the given value. bool check(string $value, string $hashedValue, array $options = array()) Check the given plain value against a hash. bool needsRehash(string $hashedValue, array $options = array()) Check if the given hash has been hashed using the given options.

Hash::__callStatic()

static mixed __callStatic(string $method, array $args) Handle dynamic, static calls to the object. Parameters string $method array $args Return Value mixed