Random Number Generator: Difference between revisions

Jump to navigation Jump to search
[unchecked revision][unchecked revision]
Content deleted Content added
Line 5: Line 5:
*'''True random numbers:''' The generated values are really random, that means, that you cannot "predict" the next number, because they don't follow any recognizable patterns. Linux provides <font color="blue" face="courier new">/dev/random</font> for this.
*'''True random numbers:''' The generated values are really random, that means, that you cannot "predict" the next number, because they don't follow any recognizable patterns. Linux provides <font color="blue" face="courier new">/dev/random</font> for this.
*'''pseudorandom numbers''': The generated values aren't random, because they are calculated.
*'''pseudorandom numbers''': The generated values aren't random, because they are calculated.
*'''hybrid:''' The random number generator uses both methods to calculate the random number. E.g. it uses a true random number as s initial value (often refered to as "seed") for an algorithm, that generates pseudorandom numbers. This method is the most commonly used method in OSes, since it is fast and generates very useful results. Indeed [[Linux]] does it this way to provide <font color="blue" face="courier new">/dev/urandom</font>.
*'''hybrid:''' The random number generator uses both methods to calculate the random number. E.g. it uses a true random number as s initial value (often refered to as "seed") for an algorithm, that generates pseudorandom numbers. This method is the most commonly used method in OSes, since it is fast and generates very useful results. Indeed [https://en.wikipedia.org/wiki/Linux Linux] does it this way to provide <font color="blue" face="courier new">/dev/urandom</font>.


== True random number generators ==
== True random number generators ==