cryptomedium

LCG Baby

spbctf

Task: Recover LCG parameters m and c when only modulus n is known. Solution: Use 3 consecutive outputs to derive m via modular inverse, then compute c from the first equation.

$ ls tags/ techniques/
modular_inverselcg_parameter_recovery

🔒

Permission denied (requires tier.pro)

Sign in to access full writeups

Create a free account with GitHub, then upgrade to Pro.

$ssh [email protected]