in reply to Best random number

You could try to get them from random.org. The following snippet will print 100 random numbers between 1 and 100.

They offrer a CORBA interface if HTTP turns you off...
#!/usr/bin/perl -w use strict; use LWP::UserAgent; my $ua = LWP::UserAgent->new(); my $response = $ua->get('http://www.random.org/cgi-bin/randnum?num=100 +&min=1&max=100&col=1'); if ($response->is_success) { print $response->content; } else { print $response->status_line; }
Merry Christmas


/brother t0mas

Replies are listed 'Best First'.
Re: Re: Best random number
by hardburn (Abbot) on Dec 19, 2002 at 15:42 UTC

    I wouldn't trust this solution, since the numbers are being transfered in plaintext. If I'm being really paranoid, I wouldn't even trust the numbers if they were sent over SSL (even if SSL is secure, random.org can still know what numbers I received). Unless you have a special situation, don't send random numbers you need in cryptographic applications over any network, even if you are using encryption.

      If I'm really paranoid, I wouldn't trust a website claiming to generate random numbers. Who says they aren't logging what they send me?

      Abigail

        Umm, isn't that what I basically said?