| Crates.io | cooltest |
| lib.rs | cooltest |
| version | 0.2.0 |
| created_at | 2025-06-06 11:35:21.3229+00 |
| updated_at | 2025-06-06 11:35:21.3229+00 |
| description | Randomness testing tool |
| homepage | |
| repository | https://github.com/jirigav/cooltest |
| max_upload_size | |
| id | 1702907 |
| size | 55,492 |
CoolTest is a randomness-testing tool. It uses first half of provided data to construct a distinguisher based on a histogram construction. Then it evaluates the distinguisher on the second half of the data to evaluate the probability of the data being generated by true random number generator.
This tool is based on our paper published at IFIP SEC 2025.
Clone the repository:
git clone https://github.com/jirigav/cooltest.git
cd cooltest
Build the project in release mode:
cargo build --release
After building, you can run CoolTest with default parameters using the following command:
./target/release/cooltest <file>
Replace
To view all available options:
./target/release/cooltest --help
For a more precise p-value computation, the python library SciPy can be used.
Python library SciPy (version 1.7.0 or newer) is required.
Build with:
cargo build --release --features scipy
CoolTest is released under the MIT license. See LICENSE for more information.