import zlib


def crc32_hex(data):
    """Return unsigned CRC32 of binary data as hex-encoded string.

    >>> crc32_hex(b'spam')
    '43daff3d'
    """
    value = zlib.crc32(data) & 0xffffffff
    return f'{value:x}'