@staticmethod
def _hash_password(password: str) ->str:
    """
        Hash entered password
        :param password:
        :return: hashed password in string
        """
    import bcrypt
    return bcrypt.hashpw(password.encode('utf8'), bcrypt.gensalt()).decode(
        'utf8')
