#random #alloc #entropy #weak #hashing #source

nightly hel-random

Simple RNG with weak entropy source (alloc) and xoshiro256++ hashing

5 releases (3 breaking)

0.4.0 Jul 9, 2023
0.3.0 Jul 6, 2023
0.2.0 Jul 2, 2023
0.1.1 Jul 1, 2023
0.1.0 Jul 1, 2023

#476 in Memory management

27 downloads per month

GPL-3.0 license

16KB
226 lines

hel-random

Simple RNG with weak source of entropy(alloc) and xoshiro256++ hashing

Examples

use hel_random::u64;

let a: u64 = u64();
let b: u64 = u64();

assert!(a != b);

How to install

cargo add hel-random

lib.rs:

A simple pseudo non-cryptographic random number generator. Using xoshiro256++ under the hood.

No runtime deps