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

hel-random

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

7 releases (4 breaking)

0.5.2 Jan 16, 2025
0.5.1 Jan 15, 2025
0.4.0 Jul 9, 2023
0.3.0 Jul 6, 2023
0.1.1 Jul 1, 2023

#197 in Memory management

Download history 16/week @ 2024-12-07 5/week @ 2024-12-14 196/week @ 2025-01-11 48/week @ 2025-01-18 4/week @ 2025-02-01 7/week @ 2025-02-08

109 downloads per month

GPL-3.0 license

17KB
127 lines

hel-random

Simple RNG with weak source of entropy(alloc and sub-μs) 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