def _fnv1_python3(data):
    """
    FNV1 -- 32bit hash, python3 version

    @param data: input
    @type data: bytes

    @return: 32bit int hash
    @rtype: int

    See: http://www.isthe.com/chongo/tech/comp/fnv/index.html
    """
    hval = 2166136261
    for i in range(len(data)):
        hval *= 16777619
        hval ^= data[i]
    return hval & 4294967295
