Skip to content

SludgePhD/TestU01Drv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TestU01Drv

TestU01Drv is a simple command-line application that can pipe the output of any external random number generator into the TestU01 randomness testing library.

This makes TestU01, which normally requires linking against it as a library, easier to use.

Usage

Test /dev/urandom with the SmallCrush and LinComp test batteries:

$ cat /dev/urandom | TestU01Drv --tests SmallCrush,LinComp

Installation

From GitHub releases

Every GitHub release contains pre-built statically linked binaries for Linux.

From crates.io

Make sure a recent Rust toolchain is installed, then run:

$ cargo install TestU01Drv

From Source

After checking out the repository (or downloading a source archive), run:

$ cargo install --path .

License

TestU01 is published under a non-commercial license provided in TestU01-1.2.3/COPYING.

The novel components of the TestU01Drv project are licensed under the same license.

Modifications

The copy of TestU01 1.2.3 in this repository was lightly modified to fix compile errors and slightly reduce verbosity. All literate LaTeX files have also been pre-compiled into C headers, simplifying the build process.

About

Standalone CLI driver for the TestU01 random number generator test suite

Topics

Resources

Stars

Watchers

Forks

Contributors