import hashlib


def sha1(string):
    """
    Compute the SHA-1 hash of the string.

    Args:
        string (String) - a string to hash

    Returns:
        String - the hexadecimal representation of the SHA-1 hash of the string
    """
    return hashlib.sha1(string.encode("ASCII")).hexdigest()