sp800_22_tests
sp800_22_tests copied to clipboard
A python implementation of the SP800-22 Rev 1a PRNG test suite.
Hi! Is the code specifically defined for 8-bit format, it shouldn't work for less bits?
TEST: monobit_test Ones count = 99539996 Zeroes count = 99677532 FAIL P=1.9503405527150787e-22
When using the sp800_22_non_overlapping_template_matching_test.py, I observed that the calculated p-value occasionally exceeded 1. After investigation, this anomaly was traced to an implementation error in the chi-square statistic calculation within the...