by Ricardo Fernández Serrata
A Pseudo-Random Number Generator based on MD5 and XOR. It uses XOR to truncate the MD5 digest to 32b/4B/8 hex-chars by "consuming" all Bytes to ensure that no data is discarded.
The period length is 2^32 - 1 or smaller (depends on seed). This is because the state size is 32bits, even though MD5 has a 128b digest.
This PRNG is NOT cryptographically secure since MD5 is not secure. I only used MD5 because it's more random than CRC32.
Better alternative: llamalab.com/automate/community/flows/41768
Truly random numbers (without a server): llamalab.com/automate/community/flows/39114
This flow is deprecated (legacy code) because I realized that an internal state of 32b is not enough for general purpose, and repeatedly calling MD5 is inefficient. I'll keep this posted because of archiving/historical reasons
Rate and review within the app in the Community section.