A generator produces 2, 3, 4, 5, 6 and 7. Is it broken? No. It produces six beautifully spaced numbers. Is it certified fair? Also no.
You cannot establish the quality of a random-number generator merely by deciding whether a few outputs look random. Testing means understanding the method, examining the implementation and interpreting evidence with care.
The first question is what randomness was intended
A tool may use a cryptographically strong random source, a simpler pseudorandom algorithm or a deliberately restricted method that prefers balanced patterns. These are not interchangeable.
If a setting fixes three odd and three even numbers, the generator's outputs will not be uniform across every possible combination. That is expected because the user requested a filter. The correct question is whether the program honestly describes what it is sampling.

Check the range and duplicate rules
Start with the simple failure cases. Are values always inside the permitted range? Does a standard six-from-59 line contain six different main numbers? Are special balls handled separately? Does sorting the output merely change presentation rather than selection?
A failure here is directly observable without a sophisticated statistical test.
Statistical testing is useful but limited
Over a sufficiently large sample, you can count how frequently each number appears, inspect correlations and apply appropriate goodness-of-fit tests. A serious assessment must specify the expected distribution, sample size, assumptions and acceptable uncertainty.
Small samples are noisy. Even a thousand selections may contain uneven frequencies through ordinary chance. Conversely, an algorithm deliberately engineered to mimic a particular test can pass it without necessarily being secure or unpredictable.
This is why technical standards distinguish randomness sources, generator design and statistical evaluation.
What would a meaningful independent audit report include?
A technical report should identify the algorithm or implementation tested, the version, the applicable selection rules, the tests used and any limitations. An impressive-looking certificate with no scope may be almost impossible to interpret.
A report about the fairness of one RNG does not automatically certify every website built around it. Bugs in the surrounding mapping, number-pool configuration or input handling can still produce incorrect lottery selections.
For readers, this distinction is a useful defence against vague “100% random” badges. Reliability is a property of the complete process, from randomness source to displayed output.
There is no need to demand a formal audit from every casual educational tool, but claims of formal certification should be backed by formal evidence.
Why the implementation matters
The Web Crypto API's crypto.getRandomValues() supplies cryptographically strong random values, but the surrounding application must still map them into a lottery range without bias and select numbers without replacement where required.
A careless remainder calculation can introduce unequal probabilities if the source range does not divide evenly into the required output range. Proper range conversion avoids that unnecessary distortion.
A test result is evidence, not a guarantee
Suppose you generate 10,000 sample lines and record how often each eligible number appears. If the counts are reasonably close to their expected values, that is reassuring for the particular test. But a poorly designed algorithm can pass some statistical tests while failing others, and an adversarially predictable generator can still produce a distribution that looks uniform.
Conversely, a genuinely sound generator can produce a conspicuous streak in a small sample simply through chance. Rejecting it because of a cluster is not scientific validation.
A credible technical assessment combines the quality of the randomness source, review of the mapping and selection algorithm, appropriate statistical tests, and the security context in which the tool operates.
For ordinary users, published explanations and accurate game rules are useful indicators. For a formal certification claim, independent test evidence matters.
What 100 outputs can and cannot prove
Generate 100 lines and you can catch obvious problems such as numbers outside the range or repeated balls within a line. You cannot establish statistical fairness from 100 samples alone. More rigorous randomness assessment examines source quality, distribution, independence and implementation details. Be wary of a website declaring “100% random” because its first few examples looked irregular.
What a credible website should disclose
Look for the actual selection method, a way to return to unrestricted selection, a description of filters, accurate lottery rules and a correction route. Do not accept “certified random” merely because the page displays a logo; ask who conducted the certification and what was tested.
Read LottoLuma's methods explanation and FAQ alongside the browser documentation for Web Crypto. Treat the output as number selection, not a claim of influence over an official draw.
Randomness can be studied rigorously. A good starting point is to stop judging it by whether six coloured balls happen to look pleasing.
Sources and further reading
- MDN Web Docs — Crypto.getRandomValues()
- NIST — random bit generation standards
- UK Gambling Commission — RTS 7 random outcomes
Reference links support the article's factual and technical framework. Verify the current game version and editorial wording again before publication.
