Toggle navigation
Hot Examples
DE
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Suchen
Home
BcNoPasswordHasher
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.
See link:
http://book.cakephp.org/2.0/en/core-libraries/components/authentication.html#hashing-passwords
public
hash
(
string
$password
) :
string
$password
string
Plain text password to hash.
return
string
Password hash