code: def get_bitno_seed_rnd(bloom_filter, key):
      """
      Apply num_probes_k hash functions to key.
      Generate the array index and bitmask corresponding to each result.
      """
  
      # We're using key as a seed to a pseudorandom number generator
      hasher = random.Random(key).randrange
      for dummy in range(bloom_filter.num_probes_k):
          bitno = hasher(bloom_filter.num_bits_m)
          yield bitno % bloom_filter.num_bits_m
  
imports: import array
  import math
  import os
  import random
label_desc: Use image node_id 1 for calling a global function with example usage: get_bitno_seed_rnd(bloom_filter, key) without return types