← Back

Match count (byte)

Fit to analytical expectation

Expected distribution assumes MD5 acts like a random function. The matching-byte count is Binomial(16, 1/256): each of the 16 output bytes matches its input byte independently with probability 1/256.

Expected (now) scales that analytical distribution to the hashes computed so far; Expected (end) scales it to the full 2128 keyspace. Residual is the Pearson residual (Observed − Expected) / √Expected in units of σ. A p-value near 1 means the observed distribution is consistent with random; near 0 means it is statistically surprising.

Distribution moments

Observed Expected
Mean 0.062 0.063
Std. deviation 0.250 0.250

Pearson χ² test

Samples 13,403,918,620,950,528
Reduced χ² 1.262
Degrees of freedom 8
p-value 0.258

Per-bucket detail

Bucket Observed Expected (now) Expected (end) Residual
0 12,590,275,310,457,238 12,590,275,238,174,500 319,626,579,315,078,477,702,860,203,058,987,532,288 +0.64σ
1 789,977,989,483,991 789,978,054,159,972 20,055,001,055,063,831,456,466,004,705,206,599,680 −2.30σ
2 23,234,641,627,989 23,234,648,651,764 589,852,972,207,761,198,416,652,048,739,074,048 −1.46σ
3 425,208,695,020 425,209,256,372 10,794,694,916,220,392,661,616,333,793,787,904 −0.86σ
4 5,419,313,515 5,419,333,660 137,579,445,010,652,283,251,277,038,616,576 −0.27σ
5 51,003,802 51,005,493 1,294,865,364,806,139,908,717,484,703,744 −0.24σ
6 366,890 366,706 9,309,489,550,893,809,600,699,564,032 +0.30σ
7 2,077 2,054 52,154,003,086,240,170,526,113,792 +0.50σ
8 6 9 230,091,190,086,352,270,000,128 −1.02σ
9 0 0 802,060,793,329,338,155,008 −0.18σ
10 0 0 2,201,735,511,100,130,816 −0.01σ
11 0 0 4,709,594,676,149,986 −0.00σ
12 0 0 7,695,416,137,500 −0.00σ
13 0 0 9,285,570,000 −0.00σ
14 0 0 7,803,000 −0.00σ
15 0 0 4,080 −0.00σ
16 0 0 1 −0.00σ