Glossary: System Design Basics in Rust
Lcg (linear congruential generator)
Also written: Lcg, LCG
A tiny random-number generator that scrambles a number with a multiply and an add each time it is called, useful when the standard library has no random numbers. Starting from a fixed seed makes the 'random' sequence, such as retry waits, repeat identically on every run.