This directory provides random number generation compatibility layer, implementing secure random functions across different PHP versions. Includes polyfills for random_int(), random_bytes(), and related operations.
random_compat.php
Main compatibility library
functions/
Legacy function overrides
polyfill-randomint.php
Random integer generation
polyfill-randombytes.php
Secure byte generation
version-check.php
PHP version detection
security.md
Implementation notes
Provides cryptographically secure random number generators for legacy environments.