Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?

Re: is rand() random

by smitz (Chaplain)
on Jun 19, 2002 at 15:35 UTC ( #175726=note: print w/replies, xml ) Need Help??

in reply to is rand() random

For really REALLY random numbers, try:
This generator uses radioactive decay as its seed, or some such physics gubbins.


Replies are listed 'Best First'.
Re: Re: is rand() random
by Anonymous Monk on Jun 19, 2002 at 19:13 UTC
    Actually HotBits is not a generator that uses radioactive decay as a seed, it uses the decay to actually generate bits (actually it uses pairs of timing intervals between consecutive decay events to generate either 0 or 1 bits depending on whether the first or second interval was longer). The process is slow, about 30 random bytes generated per second, and requests for HotBits (up to 2k bytes at a time) are served from an inventory of about 2 million bits that is continually topped up in the background. Of course, your primary request is processed by a Perl CGI program that fetches your bits for you.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://175726]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (7)
As of 2021-02-26 13:43 GMT
Find Nodes?
    Voting Booth?

    No recent polls found