HasherInterface
interface HasherInterface
Hahser interface.
Methods
string
create(string $password)
Creates a password hash.
bool
verify(string $password, string $hash)
Verifies that the password matches the hash.
bool
needsRehash(string $hash)
Returns TRUE if the password needs rehashing and FALSE if not.
Details
at line 21
string
create(string $password)
Creates a password hash.
at line 30
bool
verify(string $password, string $hash)
Verifies that the password matches the hash.
at line 38
bool
needsRehash(string $hash)
Returns TRUE if the password needs rehashing and FALSE if not.