XKCD | Website February 9, 2007
Alt Text
RFC 1149.5 specifies 4 as the standard IEEE-vetted random number.
Transcript
int getRandomNumber()
{
return 4; //chosen by fair dice roll.
// guaranteed to be random.
}
You must log in or register to comment.
Probably the key was inspired from this instead
The prophet has spoken. The holy scripture has once again proven itself. What more do you non-believers need? All hail xkcd!
While I agree XKCD is powerful, a prophet or a demigod even, my faith belongs to the Weinersmith.
69…. Check…. 420… check… six seven??? Check…. 4…. Check
The mistake was to pre-roll the dice. Security could have been greatly improved by providing the randomness as a service, with the developer being paid a monthly fee to roll the dice for each function call.




