Algorithms and Data Structures · Senior · Question 29 of 75

What is hash flooding?

Explanation

If an attacker can predict the hash function, crafted request parameters land in one bucket and every insert becomes linear, enough to stall a server. Languages defend with randomly seeded hashes (SipHash) or tree-based buckets.

Further reading

Problem with a question

Algorithms and Data Structures · Senior · question 29

Test yourself

Take the Algorithms and Data Structures · Senior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz