import hashlib


def hash_password(password, salt):
    """Using the sha256 crypto algorithm hash the combination of password and salt in 10 iterations.
    
    Parameters:
        password: Password.
        salt: Salt.
    
    Returns:
        Hashed password.
    """

    print("Password: " + password)
    hashed_password = password

    for i in range(10):
        salted_password = (salt + hashed_password).encode('utf-8')
        hashed_password = hashlib.sha256(salted_password).hexdigest()
        print("Iteration " + str(i) + ": " + hashed_password)

    return hashed_password