from typing import List
import hashlib


def fingerprint(pip_urls: List[str]):
    """Return a unique string for the given pip urls."""
    key = " ".join(sorted(pip_urls))
    return hashlib.sha256(bytes(key, "utf-8")).hexdigest()