A useful test prog

Werner Koch wk at gnupg.org
Tue Jun 8 21:54:00 CEST 2004


On Mon,  7 Jun 2004 19:59:40 -0700, low halo, Defender of Truth and Liberty said:

> Attached is a test prog for the tests/ subdir.  This small prog
> will dump a specified number of random bytes to a file for use
> by statistical analyzers.  Note that you'll need to modify the

It is a common mistake to believe that any statictical analysys will
give you information on the quality of an RNG like the one used in
GnuPG.  Note, that the output is passed through a hash function and
the only thing you may be able to check is whether the hash function
works as desired.

To analyse a RNG you have to scrutinize the code.


Salam-Shalom,

   Werner




More information about the Gcrypt-devel mailing list