Online platforms use Random Number Generators (RNGs) that are designed to produce outcomes that are entirely arbitrary. These RNGs undergo rigorous testing to ensure their fairness.