PHP Class BcNoPasswordHasher

Inheritance: extends AbstractPasswordHasher
Afficher le fichier Open project: baserproject/basercms

Méthodes publiques

Méthode Description
check ( string $password, $hashedPassword ) : boolean Check hash. Generate hash for user provided password and check against existing hash.
hash ( string $password ) : string Generates password hash.

Method Details

check() public méthode

Check hash. Generate hash for user provided password and check against existing hash.
public check ( string $password, $hashedPassword ) : boolean
$password string Plain text password to hash.
Résultat boolean True if hashes match else false.

hash() public méthode

Generates password hash.
public hash ( string $password ) : string
$password string Plain text password to hash.
Résultat string Password hash