#random #port #javascript #output #string #alea #mash

alea-js

Rust port of the javascript alea rng

1 unstable release

0.1.1 Mar 5, 2023
0.1.0 Mar 4, 2023

#368 in #javascript

MIT license

9KB
174 lines

Alea

Rust port of Johannes Baagøe's Alea PRNG. Crates.io License

This project contains three functions:

Alea: a rust port of Alea, guaranteed to output the exact values as the original 0.9 version of javascript Alea

Mash: Alea's string hasher

AleaFast: a rust port of Alea optimized for performance, however it may differ from the original on extreme seeds or heavy rng rolls

No runtime deps