Data-Racer
⚠️ WARNING ⚠️
This project is in beta and very experimental. You should not use or treat this as a cryptographically secure random number generator. Everything said in this document beyond this point is a not proven to be true.
Overview
Data-racer is an experimental project aimed at generating random numbers using a unique approach based on data races. It leverages the inherent unpredictability of data race conditions in multithreaded environments to generate a random and non-deterministic behaviour. However, it's important to note that this approach is highly experimental and may have security implications that are not yet fully understood.
Getting Started
To use Data-racer in your project you can add the following lines to your Cargo.toml:
[]
= "*"
Example Usage
To generate a random number you can use the following example:
use DataraceRNG;
You can also generate almost any kind of primitive type
use DataraceRNG;
You can also fill Slices of (almost) any primitive types!
use DataraceRNG;
Contributing
Please feel free to contribute by creating a pull request to submit the code you would like to be included.
You are very welcome to give us bug fixes and improvements in the form of a GitHub Pull Request.
License
This project is licensed under the MIT License - see the LICENSE file for details.