# What is the Random Number Generator (RNG) and how does it protect me?

RNG is a game term standing for Random Number Generator, as suggested in the title. This is an algorithm made for the purpose of computing the most random outcome possible. See, a PC cannot accomplish the task of creating totally random numbers by itself, so the computer uses a complicated algorithm designed to get as practically close to a “random” number as possible. This is achieved by taking a sequence of some sort of data (such as static noise not generated by the same computer, or the current millisecond on the clock) and converting it into numbers. Here’s how:

• First, the “seed” data is recorded.
• Second, the seed is inserted as the input to a simple calculation-multiply the seed by itself, and then output the middle as a result.
• This output is used as the next seed and the process is repeated as many times as necessary, until an outcome is reached for all contestants.All a bit confusing, isn’t it? Think of it in terms of a video game; if a character in the game has an attack power of, say, 80-100, the computer responsible for generating the amount of damage produced by that character per attack will use an algorithm to make the attack as random as possible while staying in the parameters of the 80-100 attack power.This also transfers over to casino games, games of chance. In terms of gambling, a RNG is software working alongside with the game to produce the outcome of each roll of the dice, or each card given to each player, and so on. These makes it so the results cannot be predicted, duplicated, or manipulated. It makes the game fair for everyone playing.Shown above is a “random walk sequence.” It shows the trillions of sequences produced by an RNG. Notice that no one sequence ever repeats.

In an online casino a Random Number Generator (RNG) is something that returns a number to whatever asks it for a number. In an example of European Roulette (single Zero)-The “wheel” spins, and needs to stop on a number between zero and 36. So, the “wheel” asks the RNG for a number between zero and 36. The RNG returns 17.

The RNG doesn’t know or care what is asking for that number. The ONLY thing that it does – when something asks it for a number within a range, then it makes sure that any number in that range has exactly the same chance of being returned as any other number.

When a European Roulette “wheel” asks it for a number between zero and 36, then zero has exactly the same chance of being returned as 1, or 17, or 36. When a Video Poker “dealer” asks it for a number between 1 and 52, then 1 has exactly the same chance of being returned as 2, or 23, or 52.

The RNG doesn’t know that in one case it is a Roulette “wheel” that is asking, and in another case it is a Video Poker “dealer” that is asking. It doesn’t know what the number is for, or how it is going to be used.

Again, the ONLY thing that an RNG does  when something asks it for a number within a range, then it makes sure that any number in that range has exactly the same chance of being returned as any other number.

I still do not get it…Why is this Helpful for Me?

• Online casinos use RNGs because it makes it more fair for their players. Food for thought: in Vegas or Atlantic City, the house has a mathematical advantage; this is not the case with online gambling. See the upper hand that gamblers have when using online casinos rather than physical parlors?Also, the random outcomes generated makes it so that no one player can gain an advantage. No one is able to predict, manipulate, or control the outcomes. This allows each gambler to have the same chance of winning or losing, as does the house.

Other ways RNGs help you throughout your online-gambling experiences are:

• If a gambler opt to use bitcoin as their currency for online wagers, RNGs become that person’s best friend.
• Bitcoin uses RNGs to generate temporary identities for its users. This keeps both parties involved in the transaction anonymous and forces the sequence of numbers to be random so that no one can ever guess who it is on the other side of a bitcoin transaction.