Seed RNG

by Ricardo “Rudxain” Fernández Serrata

Version 10 (April 27, 2024)

Download (301 downloads)

Better alternative ("xoshiro"): llamalab.com/automate/community/flows/41768

⚠️ Deprecated (legacy code) since period is too short for general-purpose use, and repeatedly calling MD5 is inefficient. I'll keep this posted for archiving/historical reasons.

This flow is a Pseudo-Random Number Generator based on MD5 and XOR. It uses XOR to truncate the MD5 digest to 32b/4B/8nibbles by "consuming" all Bytes. It can be considered a proof-of-concept "DIY" RNG.

Period length is < 2^32 - 1 (depends on seed), because internal state size is 32b, despite MD5 being 128b.

This PRNG is NOT cryptographically secure, since MD5 is insecure. I just used MD5 because it preserves entropy better than CRC32.

Truly random numbers (without a server): llamalab.com/automate/community/flows/39114

LICENSE: https://unlicense.org

Rudxain profile: llamalab.com/automate/community/flows/42921

4.4 average rating from 5 reviews

5 stars
3
4 stars
1
3 stars
1
2 stars
0
1 star
0
Reports
0

Rate and review within the app in the Community section.