protected function bCrypt($password)
    {
        if ($this->isSamePasswordOption()) {
            $result = $this->gameDataService->hashPassword($password);
        } else {
            $bCrypt = new Bcrypt();
            $result = $bCrypt->create($password);
        }

        return $result;
    }
protected function bCrypt($password)
    {
        if ($this->isSamePasswordOption()) {
            $result = $this->gameDataService->hashPassword($password);
        } else {
            $bCrypt = new Bcrypt();
            $result = $bCrypt->create($password);
        }

        return $result;
    }
protected function bCrypt ( $ password ) { if ( $ this -> isSamePasswordOption ( ) ) { $ result = $ this -> gameDataService -> hashPassword ( $ password ) ; } else { $ bCrypt = new Bcrypt ( ) ; $ result = $ bCrypt -> create ( $ password ) ; } return $ result ; }
We want to crypt a password =)

@param $password

@return string
We want to crypt a password = )