Comparison
The one distinction that decides which picker is fair
These look like the same tool wearing different costumes, and for the most part they are. The real difference is whether a result can come up twice. Picking a prize winner with something that repeats means one name can win twice while another cannot win at all.
Side by side
| Tool | Results can repeat | Picks from | Right for |
|---|---|---|---|
| Random number | Yes | A range | Any single draw |
| Dice, coin, wheel | Yes | Fixed faces | Games and decisions |
| Lottery numbers | No, within a draw | A range | Mimicking a draw |
| List randomiser | No | Your list | Order, winners, queues |
| Group generator | No | Your list | Splitting people up |
| Secret Santa | No, and no self-matches | Your list | Gift pairing |
The short answer
For anything drawn from a list of real entrants, shuffle the list rather than generating a number, because the shuffle cannot hand the same person two slots. Secret Santa adds one further rule that a plain shuffle will break often enough to notice: nobody may draw themselves. None of these are suitable where the outcome has to be provable to a sceptical loser, which needs a published seed and a method anybody can re-run.
In more detail
With replacement and without is the whole question
A dice roll can come up six twice; a shuffled list hands each name out once. For a prize draw from a list of entrants the second is what fairness means, and generating a random number in range gives you the first. It is the difference between one person winning twice while another cannot win at all, and everybody having one chance.
Secret Santa needs one rule a shuffle will break
Nobody may draw themselves, and a plain shuffle produces that case often enough to notice - roughly once in every few runs for a small group. Re-rolling until it does not happen is a workable fix and subtly changes the distribution; a derangement algorithm avoids the case by construction.
None of this is provably fair to a sceptic
The browser's random source is good enough that no result here is predictable, and that is a different claim from being able to prove to a disappointed loser that the draw was honest. Proving it needs a seed published in advance and a method anybody can re-run. For anything with real stakes, that is the bar.