| Fully Qualified Name: | Laminas\Crypt\Password\PasswordInterface |
| Name | Description | Defined By |
|---|---|---|
| create() | Create a password hash for a given plain text password | PasswordInterface |
| verify() | Verify a password hash against a given plain text password | PasswordInterface |
Create a password hash for a given plain text password
| Parameter Name | Type | Description |
|---|---|---|
| $password | string | The |
Returns: string The formatted password hash
Verify a password hash against a given plain text password
| Parameter Name | Type | Description |
|---|---|---|
| $password | string | The |
| $hash | string | The |
Returns: bool Does the password validate against the hash