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%?
- A. About 2³² (around 5 × 10⁹)
- B. About 2⁶³ (around 9 × 10¹⁸)
- C. About 2⁶⁴ (around 1.8 × 10¹⁹)
- 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
- Alice and Bob run plain Diffie–Hellman with no authentication of the exchanged values. Mallory sits on the path and can modify messages…
- Host H is set as 10.1.5.20 with mask 255.255.0.0, but the network is really split into /24 subnets joined by router R. H pings 10.1.200.7…
- Which SNMP message does an agent send without first being polled, and to which UDP port does it normally go?
- Frames take 1 ms to transmit and the one-way propagation delay is 10 ms (ACKs negligible, no errors). For Go-Back-N to reach at least 60%…
- A source must be allowed bursts of 2 s at its peak rate of 25 Mbps, and a token bucket refilling at 5 Mbps polices it. What is the…
- A 1 Gbps half-duplex CSMA/CD network uses a 512-byte minimum frame and signals travel at 2 × 10⁸ m/s. Considering propagation only, what…