diff --git a/BF/BloomFilter.h b/BF/BloomFilter.h index d3faec9..bc4ef76 100644 --- a/BF/BloomFilter.h +++ b/BF/BloomFilter.h @@ -20,7 +20,7 @@ class BloomFilter { void add_tag(uint8_t *key) { for (int i = 0; i < num_of_hashes; ++i) { long index = SpookyHash::Hash64(key, key_len, i) % num_of_bits; - bits.flip(index); + bits.set(index); } } diff --git a/README.md b/README.md index 422027a..72d8a99 100644 --- a/README.md +++ b/README.md @@ -40,6 +40,7 @@ All the above executable files can be executed without extra parameters. ## Feedback - [Submit an issue](https://github.com/MonashCybersecurityLab/Aura/issues/new) + - Email the authors: shifeng.sun@monash.edu, shangqi.lai@monash.edu, xingliang.yuan@monash.edu