Click here to Skip to main content
15,896,063 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
See more:
Hello

I have a RNG machine named HSM that supplies my .Net application with random numbers. I want to test these generated random numbers against a test suite written by the US National Institue for Standards and Technology (NSIT).

This institute has A Statistical Test Suite for Random and Pseudorandom Number Generators for Cryptographic Applications. This test suite include:

1. The Frequency (Monobit) Test,
2. Frequency Test within a Block,
3. The Runs Test,
4. Tests for the Longest-Run-of-Ones in a Block,
5. The Binary Matrix Rank Test,
6. The Discrete Fourier Transform (Spectral) Test,
7. The Non-overlapping Template Matching Test,
8. The Overlapping Template Matching Test,
9. Maurer's "Universal Statistical" Test,
10. The Linear Complexity Test,
11. The Serial Test,
12. The Approximate Entropy Test,
13. The Cumulative Sums (Cusums) Test,
14. The Random Excursions Test, and
15. The Random Excursions Variant Test.

Does anyone know if there is a .Net wrapper for any of these classes? It would be of supreme assistance to me If anyone can point me in the right direction.

Thank you.
Posted
Updated 28-Nov-10 22:34pm
v2

1 solution

Why don't you ask these guys[^]? They wrote and test the library...
 
Share this answer
 
Comments
deadwood88 30-Nov-10 4:10am    
Will try it. Thanl you

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900