@staticmethod
def get_algorithm(hashed_password):
    """
        Gets the algorithm from the hashed password.
        :param hashed_password: hashed password.
        :type hashed_password: str
        :return: The algorithm extract from the hashed password.
        """
    return hashed_password.split('$', 1)[0]
