About
## Challenges we ran into
The hardest problems were about honesty, not code.
Two of the four required estimators are binary-only in SP 800-90B. Collision and Markov cannot read a six-sided die directly. The specification handles this by serialising samples to bits, but six faces do not fill a three-bit codeword, so a perfectly fair die yields a bitstring biased to a one-rate of 7/18. The figure measures the die and my encoding together. Rather than hide that, every such result carries a warning saying so, and the Markov estimator is a documented generalisation following the 2016 second draft, labelled "not the published method" everywhere it appears.
Scaling n × H_bitstring returned 3.0 bits per symbol for a fair d6 — more than six faces can carry. SP 800-90B never prints that because it takes a minimum elsewhere. Standing alone it was an impossibility, so the estimator now caps at log2(k) and marks the result saturated, because a ceiling value means the method found nothing, not that the source is strong.
My first explanation layer misdiagnosed two of five datasets. It called a biased die a sequencing problem, because bias drags the sequential estimators down too, and it called a 40-observation fair sample a biased die, because at that size the confidence term dominates. Both now test against the right baseline: sampling noise for bias, the frequency estimate for sequence.
A browser test caught the governing figure rendering as -0.0189 bits. A requestAnimationFrame timestamp is the start of the frame and can predate the performance.now() taken just before it, so the count-up's elapsed fraction went negative and the easing with it.
Auditing saved data found that starting a second calibration reused the first profile's identity, so saving silently overwrote the earlier record.
Verification: estimator functions were lifted out of NIST's own C++ reference implementation and compiled, so a disagreement would be with their arithmetic rather than my reading of the spec. Every comparable estimator agrees to ten decimal places on all five test datasets. 167 unit tests and 42 browser tests, including offline operation and an assertion that no request leaves the origin.
## The problem it solves
Self-custody guides tell people to roll dice for their Bitcoin seed. The check almost everyone applies is counting: 99 rolls of a six-sided die, about 2.585 bits each, call it 256 bits, done.
That arithmetic assumes the die is fair and the roller has no habits. Nobody checks whether either is true. When someone rolls dice precisely because they distrust a hardware random number generator, the physical process becomes part of the security boundary, and nothing measures it.
Here is what counting misses. Take a dice sequence whose histogram is perfectly flat: every face appears exactly as often as it should. Frequency analysis rates it 2.4815 bits per roll, close to the 2.5850 ceiling for six faces. By the usual check it is a healthy source. The sequence is 1,2,3,4,5,6 repeating. The next roll is never in doubt. Sequential analysis reports 0.0000.
A process can be perfect under the check most people apply and worthless in fact.
EntropyLab profiles the process before a seed exists. You describe the source and how you collect it, the tool states the calibration protocol, you record outcomes in order, and four estimator families from NIST SP 800-90B run over the sample: most common value, collision, a Markov estimate and the lag predictor. The lowest bound governs, and the limiting method is named — so you learn not just that a source is weak but which weakness, and whether to roll more, change how you roll, or check the die itself.
It runs entirely offline. No account, no backend, no telemetry, and a browser test asserts no request ever leaves the origin. It never asks for a mnemonic or private key and refuses pasted text that looks like seed material. Reports carry a SHA-256 of the dataset so a third party can re-derive them.
It is not a NIST validation and claims no certification. It measures evidence of bias and predictability, and says exactly that.
Screenshots
Team
From the public Devfolio project page. Votes, swipes and the judge score are hackfeed's own.








