AlgorithmInterface
in
Table of Contents
Methods
- checkPassword() : bool
- Checks if a password matches the stored value
- hashPassword() : string
- Creates a hashed value to store for given password.
Methods
checkPassword()
Checks if a password matches the stored value
public
checkPassword(string $plaintext, string $storedPassword) : bool
Parameters
- $plaintext : string
- $storedPassword : string
Return values
boolhashPassword()
Creates a hashed value to store for given password.
public
hashPassword(string $plaintext) : string
Responsible for loading any of its configurable settings.
Parameters
- $plaintext : string