import hashlib


def make_pw_hash(name, pw, salt):
    """
    Generates hash for user's password.
    Args:
        name: String, user's nickname.
        pw: String, user's password.
        salt: String, auto generated secret word.
    Returns:
        Hash.
    """
    return hashlib.sha256(name + pw + salt).hexdigest()