akeeba / fof

Rapid Application Development framework for Joomla!™ 3 and 4
0 stars 0 forks source link

Replace RandVal with random_bytes() #695

Closed nikosdion closed 3 years ago

nikosdion commented 3 years ago

The RandVal class is a leftover from the PHP 5.x times. PHP 7 and later have a built-in random_bytes function. Even Joomla and WordPress use a polyfill to support it in PHP 5 so there's no reason to use RandVal anymore.