Skip to main content

r/RNG


DIY hardware Quantum RNG
DIY hardware Quantum RNG
  • r/RNG - DIY hardware Quantum RNG
  • r/RNG - DIY hardware Quantum RNG
  • r/RNG - DIY hardware Quantum RNG
  • r/RNG - DIY hardware Quantum RNG

Advertisement: Have questions about Ozempic®? Click "Learn more."
Have questions about Ozempic®? Click "Learn more."

See the following links for Boxed Warning: Medication Guide & Safety Information

media poster



PRNG for BigInt backend
PRNG for BigInt backend

I have hardware support for long integer operations. You can approximate it as BigInt(n) in JavaScript. I seek PRNG which can take advantage of this hardware support.

Proposed workflow - do some math using BigInt and then split result into byte array. User will pull randomness from that array. Obviously you can keep generator internal state in BigInts.

Probably combination of several LCG generators with post processing will do the job. This type of generator (combined LCG) is used in proprietary biology simulation software and gives same results in monte Carlo as slow Mersenne twister.

While MT produces better randomness during testsuites in real world monte carlo deployment that doesn't translates to more accurate results.