Toggle navigation
Hot Examples
ZH
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
搜索
Home
Neos
Flow
Security
Cryptography
PasswordHashingStrategyInterface
hashPassword
Neos\Flow\Security\Cryptography\PasswordHashingStrategyInterface::hashPassword PHP Method
PasswordHashingStrategyInterface Interface Documentation
显示文件
Open project: neos/flow-development-collection
hashPassword()
public
method
Hash a password for storage
public
hashPassword
(
string
$password
,
string
$staticSalt
= null ) :
string
$password
string
Cleartext password that will be hashed
$staticSalt
string
Optional static salt that will not be stored in the hashed password
return
string
The hashed password with dynamic salt (if used)
public function hashPassword($password, $staticSalt = null);
PasswordHashingStrategyInterface
hashPassword
validatePassword