Toggle navigation
Hot Examples
FR
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Rechercher
Accueil
BcNoPasswordHasher
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.
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.
Résultat
string
Password hash