Hasher
interface Hasher (View source)
Methods
array
info(string $hashedValue)
Get information about the given hashed value.
string
make(string $value, array $options = [])
Hash the given value.
bool
check(string $value, string $hashedValue, array $options = [])
Check the given plain value against a hash.
bool
needsRehash(string $hashedValue, array $options = [])
Check if the given hash has been hashed using the given options.
Details
array
info(string $hashedValue)
Get information about the given hashed value.
string
make(string $value, array $options = [])
Hash the given value.
bool
check(string $value, string $hashedValue, array $options = [])
Check the given plain value against a hash.
bool
needsRehash(string $hashedValue, array $options = [])
Check if the given hash has been hashed using the given options.
Laravel Cloud is the best place to deploy Laravel, Nuxt, Express, Hono, Node.js, Bun, Go, Flask, Python, and more, with dedicated infrastructure available on AWS through Laravel Private Cloud.