Will use a combination of a random dynamic salt and the given static salt.
public hashPassword ( string $password, string $staticSalt = null ) : string | ||
$password | string | Cleartext password that should be hashed |
$staticSalt | string | Static salt that will be appended to the random dynamic salt |
Результат | string | A Base64 encoded string with the derived key (hashed password) and dynamic salt |