1996-04-19 - Re: (Fwd) RE: Noise Sphere in Java

Header Data

From: “Deranged Mutant” <WlkngOwl@unix.asb.com>
To: Hal <hfinney@shell.portal.com>
Message Hash: 21655b44645f0a3a638dd4268345815a47f91f885e7d40f369fcb7585eef0b5f
Message ID: <199604182239.SAA27680@unix.asb.com>
Reply To: N/A
UTC Datetime: 1996-04-19 06:38:19 UTC
Raw Date: Fri, 19 Apr 1996 14:38:19 +0800

Raw message

From: "Deranged Mutant" <WlkngOwl@unix.asb.com>
Date: Fri, 19 Apr 1996 14:38:19 +0800
To: Hal <hfinney@shell.portal.com>
Subject: Re: (Fwd) RE: Noise Sphere in Java
Message-ID: <199604182239.SAA27680@unix.asb.com>
MIME-Version: 1.0
Content-Type: text/plain


On 18 Apr 96 at 11:13, Hal wrote:

[..]
> There was a post on cypherpunks a few days ago claiming that the output
> of "pgp +makerandom=2000 rand.pgp", which uses the PGP internal RNG,
> showed visible structure in the output of a noise sphere program.  I
> tried modifying Chuck's Java version and ran it with data from pgp
> +makerandom, and it looked fine to me.

Hm. I didn't see that post... (I wonder if he plotted an ASCII
file... or I suspect a troll?)

> However, that isn't very meaningful, because I find the that program
> output looks fine even with Chuck's version, which is using the Java
> internal RNG, a LCM from Knuth.  Specifically the Java code is:
[..]

A lot of bad PRNGs look good with noise spheres.... but what I found 
while experimenting with them was data based on timer drift samplings 
that passed a variety of randomness tests but showed up with very 
clear patterns on a noise sphere... so I made the original post to 
the list and sci.crypt about it.

Noise spheres will show certain correlations in the data.  It doesn't 
mean that the RNG is crypto-usable if it looks good. But if it looks 
bad then you know to be suspicious.... a visual image makes a clear 
point better than analyzing a lot of numbers on a page.

By no means should it be relied upon as a sole test.

[..]
> see it.  Oh, sometimes I can almost convince myself I'm seeing structure,
> but it is never repeatable from run to run.  And I see as much with the
> output of pgp.  Particularly when the graph is sparse you can see some
> clumping, but I think it is just random noise.

> If the noise sphere can't even reject an LCM RNG, it doesn't sound
> that useful to me for crypto purposes.

If you see definite spirals and loops then it's more than random 
noise.

It doesn't pass or reject anything. It plots data. If the data shows 
*definite* patterns, you can reject the RNG.  If not, use more 
sophisticated tests.

[..]
> at right angles to this.  Because polar coordinates are not uniform in
> space, the points are clustered along the north-south axis inside the
> globe.  You can see this in the views, where the upper right view should
[..]
That's probably what the poster to c'punks wrote about...

*sigh*



 
Rob. 

---
Send a blank message with the subject "send pgp-key"
to <WlkngOwl@unix.asb.com> for a copy of my PGP key.





Thread