Random number generator (included): Difference between revisions
Random number generator (included) (view source)
Revision as of 22:58, 25 January 2017
, 7 years agoAdded Kotlin
(Added FreeBASIC) |
(Added Kotlin) |
||
Line 431:
=={{header|Julia}}==
Julia's [http://docs.julialang.org/en/latest/stdlib/base/#random-numbers built-in random-number generation functions], <code>rand()</code> etcetera, use the Mersenne Twister algorithm.
=={{header|Kotlin}}==
As mentioned in the Java entry, the java.util.Random class uses a linear congruential formula and is not therefore cryptographically secure. However, there is also a derived class, java.security.SecureRandom, which can be used for cryptographic purposes
=={{header|Lua}}==
|