Description:
Three consecutive numbers from a linear congruential generator are enough to recover its secret multiplier and increment, and to predict every number that comes next. Here it is done on the real keys of a CTF challenge.
The same generator is in a CTF challenge solved on this channel. Full video: How to solve XOR CTF challenges? https://youtu.be/maKL3l3MDF8
Sources: "Recover Linear Congruential Generator (LCG) Parameters" (jia.je CTF write-ups), Wikipedia - Linear congruential generator, "How to Cheat at Online Poker: A Study in Software Security" (Datamation, 1999).
#shorts #ctf #capturetheflag #cryptography #crypto #prng #lcg #random #python #cybersecurity #hacking
Share this link via
Or copy link























