HashManager
class HashManager extends Manager implements Hasher mixin Hasher (View source)
Properties
protected Container | $container | The container instance. |
from Manager |
protected Repository | $config | The configuration repository instance. |
from Manager |
protected array | $customCreators | The registered custom driver creators. |
from Manager |
protected array | $drivers | The array of created "drivers". |
from Manager |
Methods
Get the default driver name.
Dynamically call the default driver instance.
Create an instance of the Bcrypt hash Driver.
Create an instance of the Argon2i hash Driver.
Create an instance of the Argon2id hash Driver.
Get information about the given hashed value.
Hash the given value.
Check the given plain value against a hash.
Check if the given hash has been hashed using the given options.
Determine if a given string is already hashed.
Verifies that the configuration is less than or equal to what is configured.
Details
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.