[WEBINAR] Better to Ask Permission? Best Practices for Privacy and Security

Random Number Generator (RNG)

Definition - What does Random Number Generator (RNG) mean?

A random number generator (RNG) is a mathematical construct, either computational or as a hardware device, that is designed to generate a random set of numbers that should not display any distinguishable patterns in their appearance or generation, hence the word random. It is often in the form of a function or blocks of code used in software applications such as games where an element of chance is required.

Techopedia explains Random Number Generator (RNG)

Random number generators are just the modern application of randomness devices that have existed since ancient times such as dice, shuffled cards, flipping coins and even drawing straws. In modern computing, random number generators are implemented through programming based on deterministic computation, but this is not really considered as true random because the output can actually be predicted if all seed values are known, so this is called pseudorandom number generation. However, in practice, this is sufficient to fulfill most tasks. True randomness is not really required all the time; in fact, some applications do not actually benefit from it. Consider the "random" function in a music player; it only appears random because if it is truly random it would have no restrictions on the same tracks playing two or more times in succession. There might even be algorithms put in place to control the selection process.

A true random number generator cannot rely on mathematical equations and computational algorithms to get a random number because if there is an equation involved, then it is not random. In order to get true randomness, a device must collect entropy from the natural environment to measure such as atmospheric and thermal noise and other quantum and electromagnetic phenomena. An example of a random number generator is a device that measures radio noise and then extracts that value and presents it to the user or application. Other sources of entropy include subatomic physical phenomenon such as radioactive decay whose unpredictability and randomness can be explained by laws of quantum mechanics.

Applications that benefit from true randomness are games such as those related to gambling like bingo, card games, the lottery and similar games. Video games that emphasize random loot collection also benefit from true randomness, as pseudorandom number generation can lead to frustration since it can go a long time without the target number being hit or the same number can be obtained repeatedly.

Share this:

Connect with us

Email Newsletter

Join thousands of others with our weekly newsletter

The 4th Era of IT Infrastructure: Superconverged Systems
The 4th Era of IT Infrastructure: Superconverged Systems:
Learn the benefits and limitations of the 3 generations of IT infrastructure – siloed, converged and hyperconverged – and discover how the 4th...
Approaches and Benefits of Network Virtualization
Approaches and Benefits of Network Virtualization:
Businesses today aspire to achieve a software-defined datacenter (SDDC) to enhance business agility and reduce operational complexity. However, the...
Free E-Book: Public Cloud Guide
Free E-Book: Public Cloud Guide:
This white paper is for leaders of Operations, Engineering, or Infrastructure teams who are creating or executing an IT roadmap.
Free Tool: Virtual Health Monitor
Free Tool: Virtual Health Monitor:
Virtual Health Monitor is a free virtualization monitoring and reporting tool for VMware, Hyper-V, RHEV, and XenServer environments.
Free 30 Day Trial – Turbonomic
Free 30 Day Trial – Turbonomic:
Turbonomic delivers an autonomic platform where virtual and cloud environments self-manage in real-time to assure application performance.