Passwords
class Passwords
Passwords tools.
Constants
deprecated BCRYPT_COST |
|
Methods
static string
hash($password, array $options = [])
Computes salted password hash.
static bool
verify($password, $hash)
Verifies that a password matches a hash.
static bool
needsRehash($hash, array $options = [])
Checks if the given hash matches the options.
Details
at line 30
static string
hash($password, array $options = [])
Computes salted password hash.
at line 44
static bool
verify($password, $hash)
Verifies that a password matches a hash.
at line 56
static bool
needsRehash($hash, array $options = [])
Checks if the given hash matches the options.
Traits
SmartObject