#rng #nist #testing #diehard #800-22

rngcheck

Helpers for checking random number generator operation

2 releases

0.1.1 Jul 1, 2023
0.1.0 Jul 1, 2023

#26 in #nist

Download history 81/week @ 2024-09-06 45/week @ 2024-09-13 69/week @ 2024-09-20 104/week @ 2024-09-27 124/week @ 2024-10-04 67/week @ 2024-10-11 100/week @ 2024-10-18 105/week @ 2024-10-25 233/week @ 2024-11-01 182/week @ 2024-11-08 112/week @ 2024-11-15 94/week @ 2024-11-22 53/week @ 2024-11-29 154/week @ 2024-12-06 178/week @ 2024-12-13 172/week @ 2024-12-20

561 downloads per month

MIT license

11KB
201 lines

rngcheck

Random number generator tests based on NIST 800-22 and Diehard / Dieharder, designed for function checks of RNGs at runtime (and in no_std contexts).

Status

Work in progress, only a couple of tests have been implemented and these may be incomplete.


lib.rs:

A helper crate for testing the operation of cryptographic random number generators

This provides a subset of tests from NIST 800-22 and the Diehard / Dieharder suites suitable for runtime testing of RNGs.

NOTE: This is a an incomplete and broadly untested implementation, to be extended as is useful / required. If we're missing a test that would be useful, please feel free to open an issue or PR!

Dependencies

~395KB