Random number challenge

Joshua Lutes huzzak at gmail.com
Thu Jun 12 09:24:52 MDT 2008

On Wed, 2008-06-11 at 19:54 -0600, Andrew Jorgensen wrote:
> This comes up every month at PLUG (for door prizes) so I thought I'd
> ask here.  What's an easy to remember way to generate a random number
> between 1 and some given number.  Language doesn't matter so long as
> the code is easy enough for someone to remember the entire thing and
> type it up at the drop of a hat.

Why not just use the PHP version (or javascript or whatever) and put it on a
page on the website?  You could make it as "cryptographically appropriate"
as you want and never have to worry about forgetting it or whatever.

Then you just have to type "http://plug.org/random/".

Joshua Lutes

More information about the PLUG mailing list