News for hackers. Stuff that matters.
Re:Inverting the Xorshift128 random number generator by m1el on Thursday September 04, 2025 @04:58PM (#45132113)
Exactly. I've implemented a xorshift-based rng inverter previously, and here's the implementation for the algorithm in the article:

https://github.com/m1el/samaras/blob/master/src/xorshift128....

Re:Inverting the Xorshift128 random number generator by Retr0id on Thursday September 04, 2025 @05:14PM (#45132274)
Seeing your comment with the precomputed matrix reminded me of this visualisation I made: https://bsky.app/profile/retr0.id/post/3kc2rz7i7fm2y
Re:Inverting the Xorshift128 random number generator by ScottContini on Saturday September 06, 2025 @02:18AM (#45147051)
The blog is not about going from one known internal state to the previous internal state.

It is about not knowing the internal state but figuring it out after having 2 (or 3) consecutive outputs of the random number generator.