Neos\Flow\Tests\Unit\Cryptography\Fixture\TestHashingStrategy::hashPassword PHP Метод

hashPassword() публичный Метод

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
Результат string The hashed password with dynamic salt (if used)
    public function hashPassword($password, $staticSalt = null)
    {
        return 'hashed' . $password . $staticSalt;
    }