_etsis_random_lib ()
Sets up random number and string generator global scope.
Return: (type)
Source file: app/functions/global-function.php
Used by
Uses
Source
function _etsis_random_lib() { $factory = new RandomLib\Factory; $generator = $factory->getGenerator(new SecurityLib\Strength(SecurityLib\Strength::MEDIUM)); return $generator; }
Expand full source code Collapse full source code View on Github
Changelog
- Since: eduTrac SIS 6.3.0