DEV Community 👩‍💻👨‍💻

Discussion on: How Computers generate random numbers ?

jonrandy profile image
Jon Randy • Edited on

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

deveshanand18 profile image
Devesh Anand Srivastava Author

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.