PasswordHasher
in package
Table of Contents
Methods
- hash() : string
- needsRehash() : bool
- verify() : bool
Methods
hash()
public
hash(string $password) : string
Parameters
- $password : string
Return values
stringneedsRehash()
public
needsRehash(string $hash) : bool
Parameters
- $hash : string
Return values
boolverify()
public
verify(string $password, string $hash) : bool
Parameters
- $password : string
- $hash : string