[DOC] Mersenne Twister isn't cryptographically secure [ci skip]

This commit is contained in:
Nobuyoshi Nakada 2020-11-27 12:44:45 +09:00
Родитель ead32e6e64
Коммит eca854041f
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 7CD2805BFA3770C6
1 изменённых файлов: 2 добавлений и 1 удалений

Просмотреть файл

@ -1672,7 +1672,8 @@ rb_reset_random_seed(void)
* marshaled, allowing sequences to be saved and resumed.
*
* 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