Jim Gillogly (jim@acm.org)
Thu, 08 Apr 1999 17:17:46 -0700
David Honig writes:
> I just generated some raw binary files with my BSD 3.0 (Walnut Creek)
> /dev/random and then ran Maurer's Universal Statistical Test (blocksize=8
> bits)
> on the result. MUST measured ~7.19 reliably on several indendent runs. This
> is the expected value for a uniformly distributed random sample.
>
> BSD's /dev/random is good.
However (testing on Linux 2.2.0), /dev/urandom also gives ~7.19 over several
runs. I also tested random(3) by printing out 8 bits of subsequent calls
and running them through MUST, and they were also indistinguishable from
/dev/urandom.
Looks good, but MUST can't test everything.
-- Jim Gillogly Trewesday, 18 Astron S.R. 1999, 00:14 12.19.6.1.12, 1 Eb 5 Uayeb, Fifth Lord of Night
The following archive was created by hippie-mail 7.98617-22 on Thu May 27 1999 - 23:44:21