TinyMT is a very fast random number generator..It produces high quality random numbers that pass the BigCrush and AdaptiveCrush tests.

This project is a port of the TinyMT project on GitHub, which is written in C:

https://github.com/jj1bdx/TinyMT

My updates to this project include:

1. Ported the project over to C++.

2. Ported the project over to C#.

3. Made the class retain state .vs. passing in the state each time a ran number is needed.

4. Added a method to fill an array with random bytes - see GetRandBytes().

5. Renamed methods, constants and types to something easier to use and remember.

6. Better documentation,

7. Wrote tests to show that both the C++ and C# versions produce the same rngs as the original C code.

8. Added benchmark tests.

9. Wrote a separate test project to benchmark pInvoke calls from C# to the TinyMT C++ methods.

Project Activity

See All Activity >

Follow TinyMT

TinyMT Web Site

You Might Also Like
Achieve perfect load balancing with a flexible Open Source Load Balancer Icon
Achieve perfect load balancing with a flexible Open Source Load Balancer

Take advantage of Open Source Load Balancer to elevate your business security and IT infrastructure with a custom ADC Solution.

Boost application security and continuity with SKUDONET ADC, our Open Source Load Balancer, that maximizes IT infrastructure flexibility. Additionally, save up to $470 K per incident with AI and SKUDONET solutions, further enhancing your organization’s risk management and cost-efficiency strategies.
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of TinyMT!

Additional Project Details

Registered

2012-07-20