Skip to content

Instantly share code, notes, and snippets.

@diogodanielsoaresferreira
Created December 7, 2019 03:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save diogodanielsoaresferreira/8ddf67fd0fd2e57c11b94fc6f759a8df to your computer and use it in GitHub Desktop.
Save diogodanielsoaresferreira/8ddf67fd0fd2e57c11b94fc6f759a8df to your computer and use it in GitHub Desktop.
bloom_filter = BloomFilter(1000000, 100000)
base_ip = "192.168.1."
bloom_filter.add_to_filter(base_ip + str(1))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment