blob: 3fe2eeee77ed70d6dfc113e1f5baab819cf8f272 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
---
slug: the-birthday-paradox
title: "The Birthday Paradox"
date: "2021-11-11T06:46:00-04:00"
---
> How many people have to be in a room before the probability that there
> is a shared birthday is greater than 50%?
This is called the [Birthday Problem][bp], and the solution is known as
the *birthday paradox*. It is interesting because the answer is
counterintuitive and the ramifications affect the security of
[cryptographic hash algorithms][hash].
The explanation is a bit long for a blog post, so I wrote a full
article:
[The Birthday Paradox][bp]
[bp]: {{< relref "/content/articles/the-birthday-paradox.md" >}}
"The birthday Paradox"
[combinatorics]: https://en.wikipedia.org/wiki/Combinatorics
"The mathematics of counting."
[set theory]: https://en.wikipedia.org/wiki/Set_theory
"The mathematics of sets."
[probability]: https://en.wikipedia.org/wiki/Probability
"The mathematics of determining how likely an event is to occur."
[hash]: https://en.wikipedia.org/wiki/Cryptographic_hash_function
"Cryptographic hash algorithm."
[intersection]: https://en.wikipedia.org/wiki/Intersection_(set_theory)
"Intersection."
[independent]: https://en.wikipedia.org/wiki/Probability#Independent_events
"Independent events in probability theory."
[discrete]: https://en.wikipedia.org/wiki/Random_variable#Discrete_random_variable
"A random value with a countable number of possible values."
[joint probability]: https://en.wikipedia.org/wiki/Joint_probability_distribution#Coin_flips
"Joint probability."
[die]: https://en.wikipedia.org/wiki/Dice
"Dice."
[factorial]: https://en.wikipedia.org/wiki/Factorial
"Factorial unary operator."
[ruby]: https://ruby-lang.org/
"Ruby programming language."
[csv]: https://en.wikipedia.org/wiki/Comma-separated_values
"Comma-separated values."
[html]: https://en.wikipedia.org/wiki/HTML
"HyperText Markup Language"
[yaml]: https://en.wikipedia.org/wiki/YAML
"YAML Ain't a Markup Language"
[hugo-table-shortcode]: https://github.com/pablotron/hugo-shortcode-table
"Table shortcode for Hugo."
|