import hashlib


def compute_hashed_password(password, salt):
    """
        Compute a hashed password.

        This compute a hashed password regarding a random salt hash and a
        password string.

        :param password: A password
        :param salt: A salt hash
        :type password: str
        :type salt: str
        :return: the hashed password
        :rtype: str
    """
    return hashlib.sha512(password + salt).hexdigest()