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 23
string
create(string $password)
Creates a password hash.
at line 32
bool
verify(string $password, string $hash)
Verifies that the password matches the hash.
at line 40
bool
needsRehash(string $hash)
Returns TRUE if the password needs rehashing and FALSE if not.