Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > sci.physics > #528727

QueryPerformanceCounter() -- Better Randomness.

From Jeff-Relf.Me <@.>
Date 2015-10-28 09:50 -0700
Message-ID <Jeff-Relf.Me@Oct.28{9.50A.Seattle.2015}> (permalink)
References (1 earlier) <n0or5i$btl$1@dont-email.me> <Jeff-Relf.Me@Oct.27{10.41P.Seattle.2015}> <n0qmbc$8pt$1@pcls7.std.com> <Jeff-Relf.Me@Oct.28{8.28A.Seattle.2015}> <n0qsem$dgu$2@pcls7.std.com>
Newsgroups comp.os.linux.advocacy, sci.physics, alt.computer.security, comp.sys.mac.system, alt.hacker, alt.privacy.anon-server
Subject QueryPerformanceCounter() -- Better Randomness.
Organization BWH Usenet NNTPSwitch-Cluster

Cross-posted to 6 groups.

Show all headers | View raw


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 ?

Back to sci.physics | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Better Randomness ? ! Jeff-Relf.Me <@.> - 2015-10-27 22:41 -0700
  Re: Better Randomness ? ! Julio Di Egidio <julio@diegidio.name> - 2015-10-27 22:46 -0700
  Re: Better Randomness ? ! Fabian Russell <root@localhost.localdomain> - 2015-10-28 06:50 +0000
    Re: The pseudo_random array is fully known, 100.0000% predictable. Fabian Russell <root@localhost.localdomain> - 2015-10-28 17:34 +0000
    Re: The pseudo_random array is fully known, 100.0000% predictable. benj <none@gmail.com> - 2015-10-30 05:48 -0400
      Re: The pseudo_random array is fully known, 100.0000% predictable. Fabian Russell <root@localhost.localdomain> - 2015-10-30 18:53 +0000
        Re: The pseudo_random array is fully known, 100.0000% predictable. noTthaTguY <abu.kuanysh05@gmail.com> - 2015-10-30 14:08 -0700
          Re: The pseudo_random array is fully known, 100.0000% predictable. Fabian Russell <root@localhost.localdomain> - 2015-10-30 22:36 +0000
            Re: The pseudo_random array is fully known, 100.0000% predictable. "reber g=emc^2" <herbertglazier0@gmail.com> - 2015-11-01 15:14 -0800
  Re: Better Randomness ? ! moroney@world.std.spaamtrap.com (Michael Moroney) - 2015-10-28 14:33 +0000
    Re: Better Randomness ? ! chrisv <chrisv@nospam.invalid> - 2015-10-28 09:36 -0500
      Re: Better Randomness ? ! benj <none@gmail.com> - 2015-10-30 05:56 -0400
    Re: Better Randomness ? ! "Ezekiel" <zeke@nosuchemail.com> - 2015-10-28 10:46 -0400
    QueryPerformanceCounter() -- Better Randomness. Jeff-Relf.Me <@.> - 2015-10-28 08:28 -0700
      Re: QueryPerformanceCounter() -- Better Randomness. "Ezekiel" <zeke@nosuchemail.com> - 2015-10-28 11:48 -0400
        RDRAND has numerous problems. Jeff-Relf.Me <@.> - 2015-10-28 09:35 -0700
      Re: QueryPerformanceCounter() -- Better Randomness. moroney@world.std.spaamtrap.com (Michael Moroney) - 2015-10-28 16:17 +0000
        QueryPerformanceCounter() -- Better Randomness. Jeff-Relf.Me <@.> - 2015-10-28 09:50 -0700
        Re: QueryPerformanceCounter() -- Better Randomness. Fabian Russell <root@localhost.localdomain> - 2015-10-28 17:44 +0000
          Re: QueryPerformanceCounter() -- Better Randomness. moroney@world.std.spaamtrap.com (Michael Moroney) - 2015-10-28 18:01 +0000
            Re: QueryPerformanceCounter() -- Better Randomness. Fabian Russell <root@localhost.localdomain> - 2015-10-28 18:39 +0000
    Re: Better Randomness ? ! Nomen Nescio <nobody@dizum.com> - 2015-10-29 19:38 +0100
      Re: Better Randomness ? ! Tim Streater <timstreater@greenbee.net> - 2015-10-29 19:14 +0000
        Re: Better Randomness ? ! Snit <usenet@gallopinginsanity.com> - 2015-10-29 13:10 -0700
      Re: Better Randomness ? ! Fabian Russell <root@localhost.localdomain> - 2015-10-29 21:36 +0000
        Re: Better Randomness ? ! noTthaTguY <abu.kuanysh05@gmail.com> - 2015-10-29 17:24 -0700
          Re: Better Randomness ? ! benj <nobody@gmail.com> - 2015-10-29 21:55 -0400
            Re: Better Randomness ? ! Fabian Russell <root@localhost.localdomain> - 2015-10-30 02:12 +0000
            Re: Better Randomness ? ! Fabian Russell <root@localhost.localdomain> - 2015-10-30 02:18 +0000
  Re: Better Randomness ? ! benj <none@gmail.com> - 2015-10-30 05:45 -0400

csiph-web