PHP Class BcNoPasswordHasher

Inheritance: extends AbstractPasswordHasher
Datei anzeigen Open project: baserproject/basercms

Public Methods

Method 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 method

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.
return boolean True if hashes match else false.

hash() public method

Generates password hash.
public hash ( string $password ) : string
$password string Plain text password to hash.
return string Password hash