def shasum(*values: str) ->str:
    """Base-16-encode a string using SHA-256 truncated to 32 characters."""
    from hashlib import sha256
    return sha256(''.join(values).encode()).hexdigest()[:32]
