RE: C++ True Random Generator 12-16-2013, 12:15 AM
#5
(12-16-2013, 12:12 AM)The_Joker Wrote: This is far from a truly random number generator. At very best you could call this pseudo-random.
Computers don't understand the concept of random. You need to give them something to start with, then manipulate. In this case, the seed is the system time, which is a poor system, are there are a very finite number of system times available. If you wanted to increase the randomness, you would need to include other seeds such as keystroke patterns and mouse position. Many cryptographic algorithms have been broken due to a weak random number generator.
Of course its not that complex you cant use it in gambling machines or anything like that it but its usefull for game devs or other simple tasks.
![[Image: ngT5EVj.png]](http://i.imgur.com/ngT5EVj.png)
wow so binary much 0 very 1



![[+]](https://sinister.li/images/modern/collapse_collapsed.png)