Skip to main content
Challenges Birthday paradox
Cryptography Medium Birthday paradox Solves: 8

Birthday paradox

Author: CyberSamSU
Points
35

The "birthday paradox": in a room of 23 people, the probability of two people having the same birthday already exceeds 50%. The reason is we are counting the number of pairs, which has a quadratic dependence on the number of people.

The exact same rule applies to hash functions. If a hash is n bits, to find a collision (2 inputs with the same hash) it is sufficient to calculate only about 2^(n/2) hashes, rather than all 2^n variants. Therefore, a 128-bit hash only provides 64-bit security.

Assumption: the hash length is n = 100 bits. According to the birthday bound, approximately 2^(n/2) hashes will be needed. If your computer calculates 1 000 000 000 (one billion) hashes per second, approximately how many seconds are needed for a collision? (round down to an integer)

Answer: only the number — in decimal format, without spaces and extra characters (for example 1234).

Hints 2
Opening a hint reduces the points you get for solving this challenge.
Hint 1 −3 pts Log in
Hint 2 −7 pts Log in
To submit a flag, log in.

First solvers

1. Лазиз 04.10.2026
2. Mirjaxon Qaxxarov 27.10.2026
3. Odam 05.11.2026
4. arcanum 11.11.2026
5. Jasmin Xuseinova 15.11.2026
6. Aminova 18.11.2026
7. hacker_777 19.11.2026
8. milanchka_26 19.11.2026