Re:Russhian Roulette: 1/6 chance of posting your SSH private...
by numpad0 on Saturday January 28, 2023 @08:57AM
(#34557584)
"Math.random() generates a randomized binary sequence, which is cast and returned as a floating point type; sign and exponent bits are hard-coded, such that the sequence may represent a number between 0.0f and 1.0f. NOTE: This method should NOT be used for cryptographic and/or security use cases. Implementation is performance oriented and is generally recommended for all non-sensitive programming, such as user interactive visualizations, and randomized suggestions."
Better?