DEV Community

Discussion on: How Computers generate random numbers ?

Collapse
 
jonrandy profile image
Jon Randy 🎖️ • Edited

There is no such thing as a completely random number - the concept is purely theoretical. Every generated number you have mentioned is determined by something - and therefore not random. They are all pseudo-random - some just being harder to predict than others

Collapse
 
deveshanand18 profile image
Devesh Anand Srivastava

True, from theoretical standpoint, no random number is completely random. However, what I implied by "completely random" in case of true random numbers was that it's completely unpredictable, not something that is in anyone's conscious control, or is based on pre existing data in computer.

The word entropy itself implies pure randomness, making the source of random number completely random.