Skip to content

use random_int instead of mt_rand

Felix requested to merge crypto-functions into master

mt_rand: Caution This function does not generate cryptographically secure values, and should not be used for cryptographic purposes. If you need a cryptographically secure value, consider using random_int(), random_bytes(), or openssl_random_pseudo_bytes() instead.

Merge request reports