[Cryptech Tech] RNG testdata available

Joachim Strömbergson joachim at secworks.se
Mon Dec 29 20:34:51 UTC 2014


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Aloha!

I've just added a new file with 200+ MByte data for testing. This data
is from the CSPRN output. I've not yet tested with Dieharder. Testing
with ent shows:

> ent rng_data_2014-12-22.bin
Entropy = 7.999999 bits per byte.

Optimum compression would reduce the size
of this 204849152 byte file by 0 percent.

Chi square distribution for 204849152 samples is 264.76, and randomly
would exceed this value 32.41 percent of the times.

Arithmetic mean value of data bytes is 127.5034 (127.5 = random).
Monte Carlo value for Pi is 3.142165677 (error 0.02 percent).
Serial correlation coefficient is 0.000091 (totally uncorrelated = 0.0).


Testing for the tribyte pattern and pairs I get:

> tribytes.py rng_data_2014-12-22.bin
Analyzed file: rng_data_2014-12-22.bin
Total number of bytes: 204849152
Number of patterns:    3131
Pattern frequency:     0.000015
Number byte pairs:     797845
Pair frequency:        0.003895


The testfile is available via btsync. If anybody else wants the data
just tell me and I send the link.

- -- 
Med vänlig hälsning, Yours

Joachim Strömbergson - Alltid i harmonisk svängning.
========================================================================
 Joachim Strömbergson          Secworks AB          joachim at secworks.se
========================================================================
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBCAAGBQJUobrrAAoJEF3cfFQkIuyNDP8P/1eE83XM8Nv7zSXJ1sO5hi8t
dQ7J6Ib7Z81XwmvqKW09Qpd0lGRmsmN8/fRcxWKGTVj5iigQ/0fPhMU3G0xyRIQW
8mxzYGcaDh2GMDSsCO/pJjFjQc7l6dbmEHTFCoGfSHMWpLSZnyXx0fs/wX5Jr/Xk
sFGUOHZSSKM8nYMSQ767jEKEzV3RneED/ZffESzePa6eSK4cBLXAhitxa+soy5gk
kVfPIO5eqYaq1GXtcG/scMoefh0d67nloW9IdfIVB+fMw0DRJRayl7+6niN29kfi
Wkgh231wsV0tGN+eO36VJMKrpxLFITvUZr3JIGtWugGnmGTlLTD+hI0j3zsa4R7R
bDBPrbctfNCDDNMWsk3dDWPu7l2k4bJzXCfq6w+fTXKTp/fqbzphrDKR5B1Ug4Qk
ui1fveps8obOAAPf5I1UdVbMc+8FoD76PWgZwBG050wKCwDwCyV3mKgqT9BtEtMg
WFgkZb1lFcAowYQu/4AkqoTBSaTXP3YAEHC7rI3My8hbcfYcqZ7t2W9Cs4BRfBUW
6FClO6t08Sa4QmO2UUDadMDgG0d24j5TpwzNHhuI0XW4s3lfGsoun4dK487+oRPk
UNXHuLuj7LdEdDdtRd76Atg5b/9DE4ecGavi8us89UKdwcWTkQoAyC/Ob4wceNfp
v4Wc/tkY4eJBABsed4hg
=3pC4
-----END PGP SIGNATURE-----


More information about the Tech mailing list