A very weak cryptographic algorithm created from pseudo-randomized numbers.
is the previous number or the seed if this is the first item of the sequence, is a randomly generated constant, is a randomly generated constant, is a randomly generated constant,
The LCG repeats itself. 634763476347634763476347. is a example output that it gives when
Breaking LCG
If m is known to the attacker, and a,b are not known, then you can break LCG.