Re: Randomness using computers
- From: Maaartin <grajcar1@xxxxxxxxx>
- Date: Sat, 8 Jan 2011 02:46:30 -0800 (PST)
On Jan 8, 8:16 am, unruh <un...@xxxxxxxxxxxxxxxxxxxxxxx> wrote:
On 2011-01-08, Maaartin <grajc...@xxxxxxxxx> wrote:
Unfortunately the precision means nothing. The system clock is not
accurate to nanoseconds. If you try you will find that the times have
huge gaps between the possible values of the time.
Forget the system clock, I was speaking about the
http://en.wikipedia.org/wiki/Rdtsc
which steps with each single CPU clock (or about). It's not really
good for measuring times intervals, it's obsolete for profiling, but
the resolution is very high.
Why not? I write a simple crazy multithreaded program reading a coupleBecause your attacker knows that multithreaded program.
But he doesn't know all the circumstances influencing it's behavior.
The system is about as easy to predict as the climate, although there
are not so many liars making their money of of this.
of files and hashing all the measured times. The program's behavior
depends on the task scheduler and indirectly on all the times obtained
so far. The system is IMHO too complex to be analyzed easily.
No need. You just run it to find out the possibilities.
Ever tried?
Again, don't get me wrong: I do NOT propose restarting a PC as a
source of entropy. Quite the opposite is true, with any activity and
especially with user interaction it gets more and more harder to
crack. I was speaking about the restart since it's the most easily
reproducible situation.
A random number generator needs to be robust, not "it works sometimes
and sometimes crashes."
That's surely true, although I've no idea about how did you to come to
crashing. Of course, I always prefer using /dev/urandom to any such
toy program, however, my claim is that such a toy program may be
strong enough.
Are they any pointers in the literature about analyzing it?
.
- Follow-Ups:
- Re: Randomness using computers
- From: unruh
- Re: Randomness using computers
- References:
- Randomness using computers
- From: Maaartin
- Re: Randomness using computers
- From: unruh
- Re: Randomness using computers
- From: Maaartin
- Re: Randomness using computers
- From: unruh
- Randomness using computers
- Prev by Date: Re: Randomness using computers
- Next by Date: Re: To get true random numbers w\o additional devices & comparatively fast
- Previous by thread: Re: Randomness using computers
- Next by thread: Re: Randomness using computers
- Index(es):