def fimurhash_seed(number, seed): hash = (seed * 11400714819323198485 * (number << 15)) & 0xFFFFFFFFFFFFFFFF hash = ((hash << 7) | (hash >> (32 - 7)) ) & 0xFFFFFFFFFFFFFFFF return hash