What is a random number generator?
A random number generator, as the name suggests, is the process of getting a random number every time it is needed, without the ability to set a pattern from previously generated numbers. This number can be generated either by an algorithm or a hardware device, and it is very important to avoid any predictable result.
In our service, we use a true random number generator, which, based on an external and sensitive electromagnetic interference sensor (which comes from many factors, ranging from electric current nearby to space noise), this allows us to provide our users with real randomness.
True RNG vs Pseudo RNG
There are two types of random number generators: true and pseudo.
- The algorithm of a true random number generator is created using a hardware device that uses very tiny physical processes to generate random numbers. Since the algorithm is not written; hence, the true RNG cannot be hacked for prediction. It is commonly used in security-oriented systems around the world and in some forms of encryption.
- The pseudorandom number generator algorithm is used in areas where there are no security issues, and randomness is used to avoid repetition and make something more interesting for the end user. It is cheaper and faster to implement the technology, because it does not require hardware and can be easily integrated into the program code. Although this process is not completely random and is determined based on an algorithm, it is more suitable for games and programs.