xor_4.py 196 B

1234
  1. def fimurhash_seed(number, seed):
  2. hash = (seed * 11400714819323198485 * (number << 15)) & 0xFFFFFFFFFFFFFFFF
  3. hash = ((hash << 7) | (hash >> (32 - 7)) ) & 0xFFFFFFFFFFFFFFFF
  4. return hash