CS FundamentalsHardGATE CS · security placement

A system identifies records by a 64-bit hash. Roughly how many random records must be hashed before the chance of at least one collision reaches about 50%?

  1. A. About 2³² (around 5 × 10⁹)
  2. B. About 2⁶³ (around 9 × 10¹⁸)
  3. C. About 2⁶⁴ (around 1.8 × 10¹⁹)
  4. D. About 2¹⁶ (around 65,000)

Correct answer: A. About 2³² (around 5 × 10⁹)

By the birthday bound a collision becomes likely after about 1.18 × √(2⁶⁴) ≈ 5 × 10⁹ items, i.e. near 2³². 2⁶³ is the effort to hit one particular hash value (a second preimage), a much harder goal.

More Computer Networks questions

Exams that ask this topic