[ Content | View menu ]

Random (Number) Information

Mark Mzyk | May 22, 2008

Today I happened to be looking into random number generators in PHP (and discovering they aren’t very good).  In my quest I discovered two random number algorithms I didn’t know about.  Not that I know a lot about random number algorithms, but these two seemed interesting and worth looking at, even if I’ll never need the information for anything else.

Mersenne twister

Blum Blum Shub

I’ve got to find a way to work Blum Blum Shub into something someday, just so I can bring that name up in conversation and watch as whomever I’m talking to thinks I’m bullshitting them.

Filed in: General.

2 Comments

  1. Comment by Kevin Smith:

    Of course, I’m sure you meant LMersenneTwister and LBlumBlumShub which would both implement the LMultipleRandomDigitsGenerator interface.

    I’ll overlook your mistake. This time.

    😉

    May 22, 2008 @ 11:56
  2. Comment by Mark:

    Glad to see you’re enjoying your first day away Kevin.

    May 22, 2008 @ 12:12