[DOC] Mersenne Twister isn't cryptographically secure [ci skip]
This commit is contained in:
parent
ead32e6e64
commit
eca854041f
3
random.c
3
random.c
@ -1672,7 +1672,8 @@ rb_reset_random_seed(void)
|
|||||||
* marshaled, allowing sequences to be saved and resumed.
|
* marshaled, allowing sequences to be saved and resumed.
|
||||||
*
|
*
|
||||||
* PRNGs are currently implemented as a modified Mersenne Twister with a period
|
* PRNGs are currently implemented as a modified Mersenne Twister with a period
|
||||||
* of 2**19937-1.
|
* of 2**19937-1. As this algorithm is _not_ for cryptographical use, you must
|
||||||
|
* use SecureRandom for security purpose, instead of this PRNG.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
|
Loading…
x
Reference in New Issue
Block a user