| Crates.io | nistrs |
| lib.rs | nistrs |
| version | 0.1.2 |
| created_at | 2022-11-23 10:56:11.161719+00 |
| updated_at | 2022-12-18 12:16:18.750326+00 |
| description | his crate implements statistical tests according to the NIST standard |
| homepage | |
| repository | https://github.com/Omnissi/NISTRS |
| max_upload_size | |
| id | 721523 |
| size | 5,821,671 |
This crate implements statistical tests according to the NIST standard.
use nistrs::prelude::*;
let data = BitsData::from_binary(vec!(0x23, 0x44));
let result = frequency_test(&data);
print!("Test passed: {}; P-value: {}", result.0, result.1);