Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Randomness in the Web Browser (2015) (lwn.net)
2 points by moritzwarhier on Aug 20, 2023 | hide | past | favorite | 1 comment


Interesting to revisit.

Have there been more changes to Math.random() since 2015 when this bug was fixed?

https://jandemooij.nl/blog/math-random-and-32-bit-precision/

https://trac.webkit.org/changeset/192855/webkit

This StackExchange answer provides a good writeup, especially about some added requirements for Math.random() from ES6:

https://security.stackexchange.com/questions/84906/predictin...

Are the 3 major browsers still all using xorshift128?

I don't have the capacity to quickly figure this out from public source code.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: