YOUR AD GOES HERE

3 numbers are enough to predict this random generator

Published 03, Dec 2026

CTF School


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

Releted More Videos

  • Sorry!!! Nothing to show

You May Also Like

YOUR AD GOES HERE

YOUR AD GOES HERE