import hashlib


def get_checksum(requirements: str):
    """Determine the hash from the contents of the requirements."""
    hash_ = hashlib.md5()
    hash_.update(requirements.encode("utf-8"))
    return hash_.hexdigest()