(Phys.org)—Stars, quasars, and other celestial objects generate photons in a random way, and now scientists have taken advantage of this randomness to generate random numbers at rates of more than one million numbers per second. Generating random numbers at very high rates has a variety of applications, such as in cryptography and computer simulations.