Article View: can.schoolnet.math.sr
Article #171Re: Random Numbers
From: Theodore Bush
Date: Tue, 01 Apr 1997 00:00
Date: Tue, 01 Apr 1997 00:00
26 lines
1549 bytes
1549 bytes
Hi Kris! This is a really excellent question. Numbers generated by computers are not really random as you suspected. There are a numerous algorithms to generate random numbers and they typically use a 'seed' value. The 'random' function generator on your computer will use some event as a seed (system clock for example). Since this value is changing regularly and is not very likely to be the same at anytime when you actually envoke this algorith, the resulting number will never be the same. If however you use the same seed, you'll get the same 'random' number! Generating 'good' random numbers becomes a big deal when your trying to generate crytographic keys...it starts to become as much an art as a science. Ted Bush kn7h@worldnet.att.net Kris Vorwerk <vorwerk@myself.com> wrote in article <01bc370e$5816f2a0$714fb1ce@kvorwerk.sudburyrc.edu.on.ca>... For some time, I have been wondering how computers and calculators "calculate" (or choose) a random number. Do they use some time of mathematical equation or algorithm? If so, how can the number be truly random? ----------
Technical Details
Message-ID:
<01bc3ee0$569c1fc0$b0a893cf@busht>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<01bc370e$5816f2a0$714fb1ce@kvorwerk.sudburyrc.edu.on.ca>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f7972,2d11448812e5540b X-Google-Attributes: gidf7972,public From: "Theodore Bush" <kn7h@worldnet.att.net> Subject: Re: Random Numbers Date: 1997/04/01 Message-ID: <01bc3ee0$569c1fc0$b0a893cf@busht> X-Deja-AN: 229947576 References: <01bc370e$5816f2a0$714fb1ce@kvorwerk.sudburyrc.edu.on.ca> Organization: AT&T WorldNet Services Newsgroups: can.schoolnet.math.sr