secureRandom

Simple, lightweight, portable cryptographically secure random number generator for Windows, Mac and Linux (C++ only)
https://github.com/Davvex87/secureRandom/

To install, run:

haxelib install secureRandom 1.0.0 

See using Haxelib in Haxelib documentation for more information.

README.md

SecureRandom

Generate cryptographically secure random numbers and other objects, designed to be simple, lightweight and portable for cross-platform C++ targets. Supports Windows, Mac (not tested) and Linux.

It can generate random Signed and Unsigned 32 and 64 Bit integers, arrays of n length containing bytes (numbers from 0 to 254) and Bytes objects of n length.

C rng backend code was taken and adapted from orlp/ed25519/src/seed.c

Contributors
Davvex87
Version
1.0.0
Published
4 months ago
License
MIT

All libraries are free

Every month, more than a thousand developers use Haxelib to find, share, and reuse code — and assemble it in powerful new ways. Enjoy Haxe; It is great!

Explore Haxe

Haxe Manual

Haxe Code Cookbook

Haxe API documentation

You can try Haxe in the browser! try.haxe.org

Join us on GitHub!

Haxe is being developed on GitHub. Feel free to contribute or report issues to our projects.

Haxe on GitHub

⌂