Interface PasswordInterface

Summary

Fully Qualified Name: Zend\Crypt\Password\PasswordInterface

Description

Methods

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

Method Details

create()

Create a password hash for a given plain text password

Parameter Name Type Description
$password string The

Returns: string The formatted password hash

verify()

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

Top