It is the default PRNG in Python, and is in the STL in C++ (C uses Linear Congruential Generator (LCG)). It is based on Linear Feedback Shift Register (LFSR), and hence, is reversible, and therefore not suitable for cryptography, but is good for use in physics simulations.
Algorithm
Brief
- Period:
- Dimensions:
- State Size:
- Word Size: 32 bits
Algorithm
- Seeding
- Twisting
- Tempering