Commands¶
coinflip¶
Randomness tests for RNG output.
Randomness tests can be ran on the your binary data via the run command. Informational web documents explaining the test results can be produced via the report command.
coinflip [OPTIONS] COMMAND [ARGS]...
Commands
-
example-run
Run randomness tests on automatically…
-
read
Print test results.
-
report
Generate an informational web document from…
-
run
Run randomness tests on DATA and write…
coinflip run¶
Run randomness tests on DATA and write results to OUT.
DATA is a newline-delimited text file which contains output of a random number generator.
Individual results of each test are printed as they come. Once they are all finished, the results are written to OUT.
The results saved in OUT can be printed again via the read command. OUT can also be used to generate an informational web document via the report command.
coinflip run [OPTIONS] DATA OUT
Options
-
-b
,
--binary
¶
Read DATA as a raw binary file.
Arguments
-
DATA
¶
Required argument
-
OUT
¶
Optional argument
coinflip example-run¶
Run randomness tests on automatically generated data.
coinflip example-run [OPTIONS]
Options
-
-e
,
--example
<example>
¶ Example binary output to use.
- Options
Python | Mersenne
-
-n
,
--length
<length>
¶ Length of binary output.
-
-t
,
--test
<test>
¶ Specify single test to run on data.
- Options
monobit | frequency_within_block | runs | longest_runs | binary_matrix_rank | spectral | non_overlapping_template_matching | overlapping_template_matching | maurers_universal | linear_complexity | serial | approximate_entropy | cusum | random_excursions | random_excursions_variant | exceptions