import hashlib


def hash_path(path: str) -> str:
    """Creates a UTF-8 SHA1 hash of an input string.

    Arguments:
        path: The string value to hash.

    Return:
        UTF-8 SHA1 hash of `path`.
    """
    hash = hashlib.sha1(path.encode('utf-8')).hexdigest()
    return hash