Question
Bloom Filters: Students at Some State University (SSU) select very bad passwords. The system administrator decided to use a Bloom Filter to prevent students from
Bloom Filters: Students at Some State University (SSU) select very bad passwords. The system administrator decided to use a Bloom Filter to prevent students from using the passwords cat, dog, fish, and bear. The Bloom Filter uses 3 hash functions (H1, H2, H3) and 10 bits in the hash table. When the hash functions are applied to the prohibited passwords, the results are:
H1(cat) = 8 H2(cat) = 1 H3(cat) = 2
H1(dog) = 1 H2(dog) = 9 H3(dog) = 1
H1(fish) = 2 H2(fish) = 8 H3(fish) = 2
H1(bear) = 2 H2(bear) = 4 H3(bear) = 1
Question 1A) Show the resulting Bloom Filter by marking each bit as either 0 or 1.
Bit 0 | Bit 1 | Bit 2 | Bit 3 | Bit 4 | Bit 5 | Bit 6 | Bit 7 | Bit 8 | Bit 9 |
|
|
|
|
|
|
|
|
|
|
A student selects the password mouse. Note this not a prohibited password. Before the password is accepted, it will be checked against the Bloom Filter. Hash functions H1 and H2 are applied to mouse and the results are:
H1(mouse) = 4 H2(mouse) = 8 H3(mouse) = ______
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started