True random number generation

2019-04-19 08:45发布

How is exactly that we talk about "true random" numbers when we are actually measuring something. I mean, isn't measuring almost the opposite of randomness.

Som articles says that, for example, throwing a dice is "true random". Of course it isn't Pseudo-random, but is it even random?? If you could have a machine that throw dices from de exactly same position and always in the same direction with the exact same force always: woudn't it always turn out the same number? (I thing it does).

Please, can someone help me understand "true random" numbers??

13条回答
Ridiculous、
2楼-- · 2019-04-19 08:52

True random numbers are those impossible to predict even when you have all the information you can currently collect. For example, the decay of radioactive atoms, wind direction and velocity at different places in the world or even the noise generated by a webcam (this list is in decreasing degrees of impossibility to predict.) There is no guarantee that what's random now will be random a thousand years from now.

Pseudo random numbers are totally possible to predict with the right information, either exploting flaws or knowing the seeds.

To get as close as possible to true random numbers in a computer, you'd need some special hardware.

The crucial difference is that we currently don't know how to predict stuff considered random, but we do currently know how to predict pseudo random numbers.

See this question for all the information you could possibly want about this.

查看更多
闹够了就滚
3楼-- · 2019-04-19 08:52

Any number produced by applying classical physics cannot be truly random, because the parameters can be known and outcomes can be influenced by outside interference. The throw of the dice for example is not random. However, since influencing or determining the result of the throw would be very complicated, most people would call this a "true" random result. For all intents and purposes, it can be considered random. But strictly speaking, it is not truly random. Even the weather is not random. It can (theoretically) be influenced and predicting it is immensely complicated. In theory, you can know all parameters that influence it. In practice, you can't, but that's not good enough for true randomness, where actual theoretical impossibility of prediction or influence is a must.

The only true source of randomness, where the result is not predictable even when all involved parameters are known and outside interference cannot influence the result in any predictable manner, is the observation of certain quantum events. It has been mathematically proven that quantum behavior is unpredictable. Radioactive decay, for example. Random number generators based on radioactive decay do actually exist. An easier source of true randomness is the observation of photons reflecting off of a semi-transparent mirror. Such RNGs also exist. A search for "quantum random number generators" should give some quite interesting reads.

查看更多
贼婆χ
4楼-- · 2019-04-19 08:53

I suppose, theoretically, a precise machine could be built that could skew the results of a die throw. In practice, though, there is always some level of variation that can't be predicted. That's where the randomness comes from. Certainly when a person throws a die, there is so much variation in each throw that the result is "truly random".

Computers can generate "true random" numbers by making use of random phenomena like quantum mechanical effects, or electro-magnetic noise.

查看更多
欢心
5楼-- · 2019-04-19 08:55

For true randomness you'll need to observe physical events. Try this.

查看更多
兄弟一词,经得起流年.
6楼-- · 2019-04-19 08:56

From Japan, we are producing modules and PC-boards for True random number generator with the self check function. I think, you can study what is the true random from our "theory" web pagem since how to check the random number randomness is equal to understanding the true randomness.
Please visit our web site, www.letech-rng.jp, and you can see, we joined Monte-Carlo conference 2010, and presented this theory. And also, you can download our paper at the conference, if you like.

查看更多
爷、活的狠高调
7楼-- · 2019-04-19 08:56

I have created a random pad using microphone audio input of the room noise combined with a pseudorandom. This is the only possible way I could think of (adding some kind of an analog, unpredicted, signal) to create true randomness.

查看更多
登录 后发表回答