Predicting V8’s Math.random() truncated outputs
i’m doing a research & working around Math.random() like a month ago.
Math.random() uses XORSHIFT128+, so, if we can get the state of the PRNG, it’ll be easy to predict future outputs.
It is public knowledge that Math.random() isn’t a …