kalkun-sms / Kalkun

Open Source Web based SMS Manager
https://kalkun.sourceforge.io/
GNU General Public License v2.0
210 stars 131 forks source link

replace rand() & mt_rand() by random_int() #504

Closed tenzap closed 7 months ago

tenzap commented 10 months ago

These functions will be deprecated in PHP 8.3 https://wiki.php.net/rfc/deprecations_php_8_3

Replace them by random_int() which also has a userland implementation for PHP < 7.0 that we already use in this project (paragonie/random_compat)