![]() |
CryptologyCracking a Linear Congruence Generator |
|
Input integers that form a partial sequence presumably generated by a linear congruence generator xn = axn-1 + b mod m.
The program will check if this is so, and will predict the next 20 numbers.