Crate lcg_tools

Source
Expand description

I’m putting all the neat LCG utilities I use in this library so i can stop copy/pasting python functions from old writeups every time i have to break an lcg for a CTF.

Currently it can solve an LCG forward and backwards and derive parameters when provided a collection of values

Structs§

  • Represents a linear congruential generator which can calculate both forwards and backwards

Functions§

  • Tries to derive LCG parameters based on known values