From: Link Hochnadel Newsgroups: comp.os.msdos.programmer,comp.os.msdos.djgpp Subject: Re: Uptime and entropy in DOS Date: Fri, 11 Feb 2000 12:21:16 -0500 Organization: Hughes Network Systems Lines: 18 Message-ID: <38A4450C.31C58BC@hns.com> References: <38A420E4 DOT 27CA35B2 AT americasm01 DOT nt DOT com> NNTP-Posting-Host: tes5.hns.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 4.61 [en] (X11; U; HP-UX B.10.20 9000/715) X-Accept-Language: en, de, es To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com "Campbell, Rolf [SKY:1U32:EXCH]" wrote: > > Damian Yerrick wrote: > > > Is it possible to get the uptime of a DOS system? I need more entropy > > than the 32 bits I get from time(NULL) to initialize a pseudorandom > > number generator. Is there a predictable way to get at least 64 bits > > of entropy? > Flip the bits end-to-end, then multiply both values to get 64 bits. -- |=*=/=*=/=*=/=*=/=*=/=*=/=*=/=*=/=*=/=*=/=*=/=*=/=*=/=*=/=*=/=*=/=*=| | Link Hochnadel | Opinions expressed are not necessarily those of anybody else ... |=*=/=*=/=*=/=*=/=*=/=*=/=*=/=*=/=*=/=*=/=*=/=*=/=*=/=*=/=*=/=*=/=*=|