Hasard is a pseudo-random number generator (PRNG) library. It includes multiple engines (algorithms), examples: Arcfour, Mersenne Twister and Linux /dev/random device. It hides internal details to give a simple API. You don't choose directly the engine but a profile like "@fast" or "@secure_blocking": Hasard chooses the best engine and the best seed for you.
Hasard is tested on Linux, FreeBSD and Windows. It is distributed under the BSD license and written in C. A Python binding is also available. The code is well tested by unit tests and the project includes many programs to test the generators quality.
The word "hasard" is the french name for "randomness".
Commercial Use
Modify
Distribute
Place Warranty
Hold Liable
Use Trademarks
Include Copyright
Include License
These details are provided for information only. No information here is legal advice and should not be used as such.