Pretty random.


Unfortunately, it is theoretically impossible to prove that the generated codes are really random. However, there is a little test devised by Bo Allen which creates a visual representation of the randomness. Because the human eye is very good at spotting patterns, this gives an impression of the randomness of the generator - the more random the image looks, the better the generator works.

True Randomness
True random (Random.org)
True Randomness
Pseudo random (PHP rand() )
True Randomness
This generator

The Pseudo Random Number Generator which is used by the PHP rand() function shows some clearly defined patterns, which are essentially predictable results. The randomness created by this generator matches the randomness generated by the True Random Number Generator from Random.org.

Share this article

Comments not possible
This website uses cookies for optimal operation. OK Allow Refuse For more information, read our privacy statement privacy Cookie settings This field is not filled in The entered text is too short The entered text is too long