1996-03-23 - Noise sphere graphical tests of randomness

Header Data

From: wlkngowl@unix.asb.com (Mutatis Mutantdis)
To: cypherpunks@toad.com
Message Hash: 68923fecf7582cd341d8c7870111f4a447c3ac8892f0329129817234bf7c7633
Message ID: <199603232243.RAA07378@unix.asb.com>
Reply To: N/A
UTC Datetime: 1996-03-23 22:46:41 UTC
Raw Date: Sun, 24 Mar 1996 06:46:41 +0800

Raw message

From: wlkngowl@unix.asb.com (Mutatis Mutantdis)
Date: Sun, 24 Mar 1996 06:46:41 +0800
To: cypherpunks@toad.com
Subject: Noise sphere graphical tests of randomness
Message-ID: <199603232243.RAA07378@unix.asb.com>
MIME-Version: 1.0
Content-Type: text/plain




I've got a short program for the PC (w/TPascal source) that plots a 
noise sphere from a file of (pseudo) random data, if anyone is 
interested.  Requires a VGA card that handles mode 5Fh (640 x 480, 
256 color) though the source can be eaily recompiled to use something 
else, or standard Borland Graphics drivers.

Send a reply with the subject "send nsphere" or check  ftp.funet.fi 
in the /pub/crypt/random directory in a few days [the ftp site would be
easier on my mailer ;]

The source has a brief explanation of what noise spheres are and a 
reference to the Pickover article the program was based on.

The source code is not copyrighted, and it would be nice to see it ported to
other systems, or maybe a portable C version that writes the output to a
.PCX file in RBG(?). [I'm not that fluent in C to write one...]

I've gotten some *very* interesting results.  Raw samples collected 
from fast timings between Windows message broadcasts do nicely with 
some of the randomness tests (compressability, Maurer, chi-sq) but 
clearly plots a spiral. 

Raw samples from the keyboard don't do as nicely in other tests (~50%
compressability, <6 bits/byte Maurer, and "non-random" in chi-squared] but
in the plot no discernable pattern shows up.... similar to plotting the
output from /dev/urandom [even when /dev/urandom was configured *not*
to use keyboard...]

Needless to say this will affect sampling methoids in the next version of
NOISE.SYS.

take care,

  Rob

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








Thread