Path: csiph.com!optima2.xanadu-bbs.net!xanadu-bbs.net!news.glorb.com!usenet.blueworldhosting.com!feeder01.blueworldhosting.com!nntpswitch.blueworldhosting.com!not-for-mail Content-Type: Text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit From: Jeff-Relf.Me <@.> Date: Wed, 28 Oct 2015 09:50:06 -0700 (Seattle) Message-ID: References: Newsgroups: comp.os.linux.advocacy,sci.physics,alt.computer.security,comp.sys.mac.system,alt.hacker,alt.privacy.anon-server Subject: QueryPerformanceCounter() -- Better Randomness. User-Agent: Jeff-Relf.Me/X.ZIP X-Complaints-To: abuse@blueworldhosting.com Organization: BWH Usenet NNTPSwitch-Cluster Lines: 12 NNTP-Posting-Date: Wed, 28 Oct 2015 12:50:06 -0400 X-Trace: 52f6b5630fcbeec90b8a611441 Xref: csiph.com comp.os.linux.advocacy:329195 sci.physics:528727 alt.computer.security:5427 comp.sys.mac.system:84398 alt.hacker:9316 alt.privacy.anon-server:46609 Replying to me, you (Michael_Moroney) wrote: > > Every second, a 64 bit counter on my 4 GigaHz PC, > > QueryPerformanceCounter(), goes up by another 4 billion. > > > > Use the low bits of that counter to seed srand(), > > and you have a nice array of PSEUDO_random numbers; > > no one could predict what's in the array. > > if the NSA really wants to, they'll figure out your > pseudorandom sequence and decrypt your file just like that. Proof ? are you just making it up, on the fly ?