import hashlib


def sha1(text: str) -> str:
    """Computes SHA1 hash over input string.

    Args:
        text: Input string.

    Returns:
        Hex encoded hashed string.
    """
    hasher = hashlib.sha1()
    hasher.update(text.encode())
    return hasher.hexdigest()