DigiNews

Tech Watch by Johan Denoyer

← Back to articles

Output-to-seed mappings for CPython's PRNG

Quality: 8/10 Relevance: 9/10

Summary

TimeLord is a Python demonstration that shows how a seed can be constructed after a desired future sequence of random outputs, effectively reversing CPython's MT19937 seeding. The project builds a reversible pipeline that constrains MT19937 outputs to produce specific results (e.g., 100 or 1000 heads) and then recovers the corresponding seed, illustrating concepts like post-selection and the look-elsewhere effect.

🚀 Service construit par Johan Denoyer