Build a better website in less than an hour with GoDaddy
Ad Get started today for FREE! no tech skills required. Get found on Google and top sites like Facebook

Entropy and serial correlation test

This shell script tests entropy and serial correlation of its input.

It makes use of Entropy estimation tool and Rearray binary tool.

You may perform an online test of up to 8GB using Entropy and Randomness Online Tester.

Use

entropyarray input [size] [tmpfs|ramfs]
#for example:
entropyarray /input/file
entropyarray /dev/random 256
entropyarray /tmp/random 16K
entropyarray /dev/urandom 4M tmpfs
entropyarray /folder/file 1G ramfs

Install

#ncomputers.org/debian
apt-get install entropyarray
#makefile as su
make install

Sample output

SourceEntropyMinMedMax
entropy 4M15.977108113262
rearray-1615.977331123259
rearray-3215.977296103258
rearray-6415.977452113260
rearray-12815.977692113260
rearray-25615.977674123257
rearray-51215.97730193258
entropy 16M15.99427881128180
rearray-1615.99431585128183
rearray-3215.99431485128177
rearray-6415.99434583128176
rearray-12815.99441482128180
rearray-25615.99440786128182
entropy-51215.99435083128179
entropy 64M15.998580419512614
rearray-1615.998589422512625
rearray-3215.998590425512604
rearray-6415.998582415512619
rearray-12815.998576416512627
rearray-25615.998598423512607
rearray-51215.998596421512612
entropy 256M15.999648186020482242
rearray-1615.999651184220482235
rearray-3215.999651187520482243
rearray-6415.999649183820482272
rearray-12815.999644185920482259
rearray-25615.999646185920482234
rearray-51215.999648187220482260