#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

#201 in Memory management

Download history 6/week @ 2024-12-04 15/week @ 2024-12-11 244/week @ 2025-01-15

244 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